1.7 JVM Memory Management

JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (i.e. JVM is platform dependent). What is JVM It is: A specification where working of Java Virtual Machine is specified. But implementation provider is… Read More »

1.6 JDK, JRE, and JVM (Java Virtual Machine)

We must understand the differences between JDK, JRE, and JVM before proceeding further to Java. See the brief overview of JVM here. If you want to get the detailed knowledge of Java Virtual Machine, move to the next page. Firstly, let’s see the differences between the JDK, JRE, and JVM. JVM JVM (Java Virtual Machine) is… Read More »

5. Internal How to set the path?

In the previous section, we have created Java Hello World program and learn how to compile and run a Java program. In this section, we are going to learn, what happens while we compile and run the Java program. Moreover, we will see some questions based on the first program. What happens at compile time?… Read More »

1.4 Hello Java Program

In this section, we will learn how to write the simple program of Java. We can write a simple hello Java program easily after installing the JDK. To create a simple Java program, you need to create a class that contains the main method. Let’s understand the requirement first. The requirement for Java Hello World… Read More »

1.3 C++ vs Java

There are many differences and similarities between the C++ programming language and Java. A list of top differences between C++ and Java are given below: Comparison Index C++ Java Platform-independent C++ is platform-dependent. Java is platform-independent. Mainly used for C++ is mainly used for system programming. Java is mainly used for application programming. It is widely used in… Read More »

1.2 History and Features of Java

The history of Java is very interesting. Java was originally designed for interactive television, but it was too advanced technology for the digital cable television industry at the time. The history of Java starts with the Green Team. Java team members (also known as Green Team), initiated this project to develop a language for digital… Read More »

1.1 What is Java?

Java is a general-purpose, class-based, object-oriented programming language designed for having lesser implementation dependencies. It is a computing platform for application development. Java is fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc. What is Java Platform? Java Platform is… Read More »

OOP With Java Syllabus

Basics of Java What is Java? History and Features of Java C++ vs Java Hello Java Program Internal How to set the path? JDK, JRE, and JVM (Java Virtual Machine) Internal details of JVM Unicode System Operators Keywords Control Statements like if-else, switch, For loop, while loop Class, Object, and Types of classes Naming convention… Read More »

1.1 Python Installation

Introduction Python is a widely used high-level programming language first launched in 1991. Since then, Python has been gaining popularity and is considered as one of the most popular and flexible server-side programming languages. Unlike most Linux distributions, Windows does not come with the Python programming language by default. However, you can install Python on your… Read More »