Category: Java

What is downcasting in java

What is downcasting in java

What you will learn here about java downcasting What is downcasting in java Downcasting is one of the important concept in java. So here we are going to see what is downcasting in java....

Java sort list by property of object

Java sort list by property of object

What you will learn here java String property sorting Java sort list by property of object Here we will see how to sort String property of class. Please follow the following steps to know...

How to handle custom exception in java

How to handle custom exception in java

What you will learn here about exception in java How to handle custom exception in java Please click on following link to download sample project of custom exception handing in java. How to handle...

How to sort list in java

How to sort list in java

What you will learn here about Sorting in java How to sort list in java or how to sort arraylist in java How to sort list in descending order in java How to sort...

How to convert String to int in java

How to convert String to int in java

What you will learn here about java conversion How to convert String to byte in java How to convert String to short in java How to convert String to int in java How to...

How to remove duplicates from list in java

How to remove duplicates from list in java

What you will learn here about java How to remove duplicates from list in java One of the common interview question is how to remove duplicates from list in java. Here we will see...

Prime number program with less iterations in java

Prime number program with less iterations in java

What you will learn here about java Prime number program with less iterations in java Write a program to check whether number is prime or not is one of the common interview program in...

How set avoid duplicates in java

How set avoid duplicates in java

What you will learn here about Set How set avoid duplicates in java Before we start knowing how set avoid duplicates in java or why set does not allow duplicates in java we should...

Collection framework in java

Collection framework in java

What you will learn here about Collection What is collection in java Collection hierarchy in java Collection interface in java List interface in java Implementation of List interface in java Set interface in java...

Perform division without using division operator

Perform division without using division operator

What you will learn here about java programming perform division without using division operator Perform division without using division operator is one of the common interview question. It is very easy to perform division...