Requirements to run Java

Before we discuss what are the basic requirements to run java file we need to know how java works. Suppose, we write a Java program Filename.java (on any platform). First, we need to compile the program. Therefore, JVM compiler (called javac) generates a byte code (bytecode files use the extension .class). However, bytecode is not … Continue reading Requirements to run Java

Features of Java

  Simple: It uses C++ syntax. It has Automatic garbage collection. It has no pointers (Explicit). Object-Oriented: It deals with objects which has data and methods. Java can be easily extended since it is based on the Object model. Includes basic concepts of OOPs: (will learn all these terms in further tutorials). Portable: Byte-code can … Continue reading Features of Java