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...
How to use the switch statement in Java

How to use the switch statement in Java

Control Statements | Java How to use the switch statement in Java The switch statement is a multi-way decision statement. It provides an easy way to change the path of execution to different parts of the program based on the value of the expression. nanadwumor January...
Primitive Data Types in Java

Primitive Data Types in Java

Primitive Data Types in Java Java has eight (8) primitive data types. Variables are declared to be one of the data types in Java. The data type of a variable determines what value can be stored in it.  comment(s) Java has eight (8) primitive data types. A variable is...