Structures of JAVA
JAVA Features of Java Everything is a class in Java - Java is a pure Object Oriented Language The way how Java executes in the first place(without creating an object) is by defining a static function (usually we call it main) that will run even without creating an object. A package in java is a collections of classes Java is interpreted language (compiler + interpreter) Java can run on many different operating systems without modifying the source code This is why Java is called platform independent language unlike C/C++ Java is platform independent thanks to the JVM(Java Virtual Machine) Java generates .class files (C/C++ will generate .exe files) Java has garbage collection which handles automatic memory allocation and de-allocation by counting reference to an object. There are 3 interrelated components for developing and running Java programs JVM JRE JVM https://www.javatpoint.com/difference-between-jdk-jre-and-jv...
This will be keep updated as I study along
ReplyDelete