Posts

Showing posts from September, 2024

JAVA TUTORIAL

Image
JAVA DEFINTION: * Java is a popular programming language,Created in 1995. *It is owend by Oracle ,and more than 3billion device run in java. *Java is used to develop  mobile  application, web  application, Desktop application , Games and so on. SYNTAX : public class NAME { public static void main ( String args[]) { System.out.println( " " ); } 1. public class NAME Public --> Access modifier. It means the class can be accessed from anywhere in the program. Class --> Keyword used to create a class in java. name -->Class name. You can replace NAME with any vaild class name such as Hello, Student, etc.. 2. public static void main ( String args[]) This is the main method, where Java strats executing the program. Public: The method can be accessed by the JVM (Java Virtual Machine). Static Allows the method to be called without creating an object of the class. void The method does not return any value. main Specail method name recognized by the JVM as th...