TOP 15 Java Project Ideas for Beginners in 2026 (New LIST)

Java Projects

Get to understand all about Java project ideas from this tutorial to learn how to build these and gain a better knowledge of complex systems in Core Java Projects: Java project ideas are a very common question, especially for students in the third or final year of Computer Science or …

Read more


Java Pass By Reference And Pass By Value With Examples

Java Pass by Reference

Learn about Java Pass by Reference & Pass by Value and how it works via practical examples demonstrating the parameter passing techniques: This tutorial will explain Java ‘pass by reference’ which is a parameter passing technique used in Java. Here we will be exploring the technique in detail along with …

Read more


Escape Characters OR Escape Sequences In Java

Java Escape Characters

This tutorial explains what is Java Escape Characters or Escape Sequences and how to use them in a Java program: In this tutorial, we will explore escape character sequences in Java. Here, you will get an introduction to Java escape sequences and a tabular format that covers major Java escape …

Read more


Java Timer – How To Set A Timer In Java With Examples

Java Timer Class

This tutorial explains how to use the Java Timer Class to set a timer in Java with programming examples: In this tutorial, we are going to explore Java.util.Timer class. We will mainly focus on the declaration, description, constructors, and methods that this class supports. We will also come up with …

Read more


How To Use .equals Method In Java – Tutorial With Examples

Java “.equals” method

This tutorial explains the concept of the .equals method in Java. We will see how to use and override the equals method in Java with practical applications: We will be learning the following concepts: What is .equals() method in Java? Difference between Java == operator and equals () method Java …

Read more


3 Methods To Convert Double To Int In Java

Java method to Conversion of double to int

In this tutorial, we will be exploring three methods to convert data from primitive data type double to int in Java with examples: We will be learning the following ways that are used for this conversion: Typecasting Math.round() Double.intValue() => Explore The Complete Java Training Series Here Methods To Convert …

Read more


Methods To Convert Java String To Double [With Examples]

Java method for Conversion of String to double

In this tutorial, we will get to know how to convert Java string to double data type: We will learn to use the following methods to convert string to double value in Java: Double.parseDouble(String) Double.valueOf(String) DecimalFormat parse() new Double(String s) => Check ALL Java Tutorials Here Methods To Convert Java …

Read more


Java char – Character Data Type In Java With Examples

Java Char

In this tutorial, we will learn all about Java char or Character Data Type which is another primitive data type in Java: This tutorial will also include a brief description of char data type, syntax, range, and example programs that will help you understand this primitive data type in detail. …

Read more


Java Boolean – What Is A Boolean In Java (With Examples)

Java-boolean1

Learn what is a Boolean in Java, how to declare & return a Java Boolean, and what are boolean operators along with practical code examples: In this tutorial, we are going to explore boolean in Java which is a primitive data type. This data type has two values i.e. “true” …

Read more


4 Methods To Convert Char To String In Java

Convert character to String in Java

Learn how to Convert Char to String in Java using four different methods with programming examples for each method: In this tutorial, we will cover the various ways of converting Java primitive data type char values to data type String. We will be learning the following methods in Java for …

Read more


Java Continue Statement – How To Use Continue In Java

Java continue statement (1)

This tutorial explains how to use the Java Continue Statement in various scenarios while dealing with the loops with the help of programming examples: In this tutorial, we will discuss Java’s “Continue Statement” – one of the jump statements that Java supports. Here, we will cover the topic in detail …

Read more


Java Break Statement – Tutorial With Examples

Java break statement

Learn about the Java Break statement with the help of practical programming examples of how to use Break in Java programs: In this tutorial, we will discuss another Jump statement of Java i.e. break statements. We will explain the break statement with description, programming examples, and see how to use …

Read more


How To Convert Char To Int In Java [With Examples]

Convert character to int in Java

In this tutorial we will learn the different ways to convert values of primitive data type char to int in Java along with FAQs and examples: We will be covering the use of the following methods provided by different Java classes for converting character to int : Implicit type casting …

Read more


8 Methods To Convert An Integer To String In Java

Java method to convert int to String

In this tutorial we will explore the different methods to convert Integer to String in Java along with interesting programming examples: We will be covering the use of the following methods provided by the different Java classes to convert Int to String in Java: String concatenation String.valueOf() String.format() Integer.toString() Integer.String(int) …

Read more


Java Switch Case Statement With Programming Examples

Java Switch statement (1)

Learn about the Java Switch Statement, Nested Switch, other variations and usage with the help of simple examples: In this tutorial, we will discuss the Java Switch statement. Here, we will explore each and every concept related to the Switch statement along with the programming examples and their description. You …

Read more


Java Do While Loop – Tutorial With Examples

Java do-while loop

This tutorial will explain how to use the Do While Loop in Java with examples: In this tutorial, we will discuss the third iteration statement of Java (after for loop and while loop) i.e. the “do-while loop”. We will explore this iteration statement along with the syntax and programming examples. …

Read more


Java While Loop – Tutorial With Programming Examples

Java while loop

In this tutorial, we will discuss  Java While Loop, comparison between For Loop vs While Loop, etc with programming examples: All the necessary details related to Java while loop will be explained in this tutorial. It includes the syntax, description, and some relevant programming examples along with the logic of …

Read more


How To Convert Java String To Int – Tutorial With Examples

Java method to convert String to int

This tutorial explains the ways to convert Java String to Integer using Integer.parseInt and Integer.ValueOf methods with code examples: We will cover the following two Integer class static methods that are used to convert Java String to int value: Integer.parseInt() Integer.valueOf() => Check ALL Java Tutorials Here Java String To …

Read more


HashSet In Java – Tutorial With Programming Examples

HashSet in Java

This tutorial explain what is HashSet in Java, HashSet methods, how to implement and iterate through it and other related concepts with the help of programming examples: A HashSet is a collection that stores objects. The HashSet in Java is implemented using the ‘HashSet’ class of java.util package. This class …

Read more


Java For Loop Tutorial With Program Examples

Java for-loop

This tutorial will explain the concept of Java For Loop along with its syntax, description, flowchart, and programming examples: In this tutorial, we will discuss the “for-loop” in Java. We will explore each and every aspect of the looping concept along with the way of using it. This tutorial will …

Read more