Category: Java

Multithreading in Java

Paras Guglani- January 26, 2020

Multithreading in Java Multithreading in java is a process of executing multiple threads simultaneously. A thread is a lightweight sub-process, the smallest unit of processing. Multiprocessing ... Read More

Exception Handling in Java

Paras Guglani- January 26, 2020

Exception Handling in Java The Exception Handling in Java is one of the powerful mechanism to handle the runtime errors so that normal flow of the application can be ... Read More

Abstraction in Java

Paras Guglani- January 26, 2020

Abstraction is a process of hiding the implementation details and showing only functionality to the user. Another way, it shows only essential things to the ... Read More

Polymorphism in Java

Paras Guglani- January 26, 2020

The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more ... Read More

Inheritance in Java

Paras Guglani- January 26, 2020

Inheritance in Java is a mechanism in which one object acquires all the properties and behaviors of a parent object. It is an important part of ... Read More

Constructors in Java

Paras Guglani- January 26, 2020

In Java, a constructor is a block of codes similar to the method. It is called when an instance of the class is created. At ... Read More

Operators in java

Paras Guglani- January 26, 2020

Java Operators Operators are used to perform operations on variables and values. The value is called an operand, while the operation (to be performed between ... Read More

Strings in java

Paras Guglani- January 25, 2020

Java Strings Strings are used for storing text. A String variable contains a collection of characters surrounded by double quotes: Example Create a variable of type String and assign it ... Read More

Boolean in Java

Paras Guglani- January 25, 2020

Java Booleans YES / NO ON / OFF TRUE / FALSE For this, Java has a boolean data type, which can take the values true or false. 1)Boolean Values A ... Read More

If … Else in Java

Paras Guglani- January 25, 2020

Java Conditions and If Statements Java supports the usual logical conditions from mathematics: Less than: a < b Less than or equal to: a <= b Greater ... Read More