30 likes | 140 Vues
This overview explores fundamental control structures in Java, including selection and repetition techniques essential for processing integers from a file. It introduces the use of graphics in Java applications, contrasting window-based applications with console applications, and emphasizes the importance of event handling. Additionally, it covers basic mathematical functions available in the `java.lang.Math` class, including converting degrees to radians and using the sine function. This is fundamental knowledge for Java developers beginning their journey.
E N D
An Example of Control Structures • Control structures (selection and repetition) • Read integers from a file • Graphics • Classes • Window-based app. vs. console app. • Event handling • Others
Math Functions • There is a class called java.lang.Math • double radian=Math.PI/180.0; • double y=Math.sin(x);
First Assignment • Control structures (selection and repetition) • Graphics