1 Overview of this lesson
2 Course Overview
3 Computer Language Overview
4Java Getting Started
5JDK Introduction (useful)
6 Setting environment Variables (useful)
7 writing the first Java program
Program Structure of 8Java
9Eclipse Development Tools Overview
10 Downloads Eclipse(useful)
11Eclipse Development Environment Introduction (useful)
12 Creating a Java Project
13 Assigning a value to the args parameter of the Main method (useful)
14 Add operation
Project Structure of 15Java
16 Export of projects
17 Import of items
18 Modifying the project name, package name, and class name
19Math class (useful)
Writing specifications for 20Java programs
21 Common errors
22 Common Tips (useful)
/**
*
* 19Math Class
* The Math class is a tool class for mathematical operations in the JDK
*/
public class MyMath {
public static void Main (string[] args) {
System.out.println (Math.floor (10/3));//Only integral parts are reserved
System.out.println (Math.Round (3.75));//rounding the 1th digit after the decimal point
System.out.println (Math.Abs (-10));//Ball Absolute
System.out.println (Math.pow (3, 4));//3 4-Square =81
System.out.println (MATH.SQRT (100)); The square root of//100
System.out.println (Math.Round (3.75 * 10)/10.0);//The first digit after the decimal point is reserved
}
}
SOURCE Download:
Video Download:
Java Basics (Geek)--07, Java Common techniques-java compounding environment variables and common techniques (mostly overview, you can watch video)