What is JAVA?
JAVA is a high level programming language. It was developed in the year 1995 by Sun Microsystems.JAVA programming language is fast ,reliable and secure .We can use JAVA to develop applications in Android mobiles , desktops, game consoles, super computers, etc...
JAVA is a object oriented programming language where all the code will be in the format of classes and objects .
Working Of JAVA:-
1.The source code with the help of compiler gets converted into byte code during the compilation time .
2.The byte code is being converted into machine code with the help of JAVA VIRTUAL MACHINE(JVM) during the run time.
JVM :-It’s nothing but a JAVA platform to execute the java programs .
3.Then the machine code which was obtained is being directly executed by the machine .
- The acces modifier is public .
- The main() method is static so that JVM can invoke it without instantiating the class.
- It is a keyword and used to specify that a method doesn’t return anything.
- The name of the String array is args
1 Comments
Helps a lot bruh..!! 🙇♀️
ReplyDelete