Select Page
Basic Parts of a Java program

Basic Parts of a Java program

Basic Parts of a Java program In Java, whenever you create an object from a class, the object is called an instance of the class. The object is something like a child of the class and it holds characteristics of the class just as a child will have characteristics of...
The main method in Java

The main method in Java

The main method in Java The main() method is the most important method in Java because that’s the entry point of the java program.  comment(s) method can be thought of as a group of one or more programming statements that collectively has a name and function...
Inheritance in Java – What is it?

Inheritance in Java – What is it?

Inheritance in Java – What is it? Inheritance in Java is a process where by one class acquires the fields and methods of another class.  comment(s) Share this article Inheritance in Java is a process where by one class acquires the fields and methods of another...
The print() method in Java

The print() method in Java

The print() method in Java The print() method is used to display text output on the console. The print() method is part of the Java API. The term, API, stands for Application Programmer Interface. The print() method is used to display text output on the console. The...