Exception handling is the way to handle the unexpected circumstances like runtime errors. So when the unexpected circumstance occurs, the...
Continue reading...JAVA
JAVA Classes/Objects
Object : An object is an instance of a class. When a class is defined, no memory is allocated but...
Continue reading...JAVA OOP
OOP : Object Oriented Programming. Object Oriented Programming aims to implement real world entities like inheritance, hiding, polymorphism, etc. ,...
Continue reading...JAVA Access Modifiers
Access modifiers are used to implement an important aspect of OOP known as Data Hiding. There are four types of...
Continue reading...JAVA Control Statements
JAVA has three major control statements:- if statement, if – else statement, and Switch statement. if Statement:- The statement inside...
Continue reading...JAVA Methods
Sometime we write the program and our program grows in size and we want to separate the logic of main...
Continue reading...JAVA Arrays
An array is a collection of data of the same type stored in a contiguous memory location. The array is...
Continue reading...JAVA Break/Continue
The break and continue statements are the jumps statements that are used to skip some statements inside the loop or...
Continue reading...JAVA Jump Statements
In Java language there are 3 types of jump statements: Break Statement. Continue Statement. Return Statement. Break Statement: Break statement...
Continue reading...JAVA Loops
Loop: Loop are used to execute a statement or a set of statement either a specific number of time or...
Continue reading...