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
Top Related