/**
* Static import: it refers to the static methods and static variables that can be imported. You do not need to specify the class name during use,
* You can use these static methods and static variables to be imported. This is static import.
* When writing an Import Statement, you can locate a static method or static variable (previously located to a class)
* Wildcard characters (*) can be used to import all static methods and static variables of the class.
* Duplicate names of static methods and static variables are not allowed.
*/
Import StaticJava. Lang. Math.Max; // Import the max method of math
Import StaticJava. Lang. Math.Min; // Import the math min Method
Import StaticJava. Lang. Integer. *; // imports all the static methods and static attributes of integer.
Public ClassStaticimport {
Public Static VoidMain (string [] ARGs ){
// Use the static math method for static Import
System.Out. Println (Max(5, 10 ));
System.Out. Println (Min(5, 10 ));
// Use the integer static method for static Import
System.Out. Println (Parseint("55544555 "));
System.Out. Println (Tobinarystring(2354 ));
// Use the static attributes of integer through static Import
System.Out. Println (Max_value);
System.Out. Println (Min_value);
}
}