Features of Java Well, java is rich with many interesting features, and we are going to now study some different features related to java. Let’s list them first – Java is simple (easy to learn) Java is secured Java is a platform-independent programming language Java is Portable architecture-neutral Java is an Object Oriented Programming language […]
Execution Engine Well, after we are done loading the class into the main memory, and the runtime data area is also ready with the details, the next step is to execute the program, which is going to be achieved with the help of the execution engine. Some components from the execution engine include – interpreter
Runtime Data Area So, with this, we can wrap up the class loader thing. The next component of the JVM is the Runtime data area. This also has 5 components, which are as follows – JVM Runtime Data Areas Method area Heap area stack area PC register Native method stack Let’s discuss these components in
ClassLoader Java Well, first let’s consider what is a ClassLoader. Basically, when we are compiling the java source code, it is being converted into a byte code. This .class file is loaded into the memory when we are trying to use the class in our program. This also involves 3 phases, loading, linking, and initialization.
Java Virtual Machine (JVM) We can say that the JVM or Java Virtual Machine, is a part of the Java Runtime Environment. With JVM, we can implement the java application on any platform. So, let’s now see in short, how this all happens. The below image represents the JVM architecture – Java Virtual Machine |
Java Runtime Environment (JRE) JRE, or Java Runtime Environment, as the name suggests, is a software layer, which provides some class libraries, and some resources which are required for running a java program. The Java Runtime Environment comes along with the Java Development Kit when we download it into our systems. The JRE is required
Java Development Kit (JDK) So, as mentioned before as well, Java Development Kit is something we are going to need when we write our java codes. The Java Development Kit or JDK comes with some tools that are necessary for developing Java applications. Java Development Kit (JDK) In short, we are going to need this
Introduction of Java While you are on a journey to learn java now, let’s first get introduced to Java. Java is one of the most popular and widely used programming languages in the world. The thing is that when you learn java, you open pathways to getting into many different sectors where java is used,