Last updated: Sep 23, 2022

Java

Java is a high-level and object-oriented programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. Java is used to develop mobile apps, web apps, desktop apps, games, and much more. Let’s learn together with one of the most popular and widely used programming languages. You can also enrol into JAVA guided path to learn the basics of Java.
Inter Thread Communication in Java EASY
Inter-Thread Communication in Java enables threads to communicate and coordinate actions, typically using wait(), notify(), and notifyAll() methods of the Object class for synchronization.
Difference Between Int and Integer in Java EASY
The main difference between int and Integer is that int is a primitive data type while Integer is a wrapper class. Learn more about the key differences between including their type, functionality, and performance.
Separators in Java EASY
Separators in Java are symbols like {}, (), [], ;, ,, and . used to structure code by defining blocks, statements, arrays, parameters, and objects. In this blog, we will discuss about separators in Java.
What are Microservices In Java?
We are living in a digital world where almost everything can be done online. The Internet makes it possible to quickly find information, communicate w...
Author
0 upvotes
Top 8 Java Projects on GitHub
GitHub is a platform that allows us to share, collaborate, review, clone projects of the people all over the globe. We can create our own GitHub repos...
Author
0 upvotes
30 Best Java Projects For Beginners to Advanced 2024 EASY
Discover the 30 best Java projects for beginners to advanced learners in 2024, designed to boost coding skills and build practical, real-world Java programming experience.
Author
0 upvotes
Best Java Programming Books for Beginners & Experts MEDIUM
We’ve rounded up a handful of the best books in 2021 for beginners as well as seasoned Java programmers that will help to further their learning of th...
Author
0 upvotes
Java knowledge for Coding Job MEDIUM
Java is a well-ordered, object-oriented programming language, which can be easily learnt by beginners.
Author Adi T
0 upvotes
Recursion in Java MEDIUM
Recursion occurs when a function calls itself, either directly or indirectly, a method supported by Java. This technique utilizes a stack to manage fu...
Author
0 upvotes
Hot Beans JAVA IDEs for 2024 MEDIUM
In this article we will learn about Java ide used for developing java.
Author
0 upvotes
15 Best Java Frameworks To Use In 2025 MEDIUM
Discover the top 10 Java frameworks, including their features, benefits, and notable companies using them, to enhance your Java development knowledge.
Author
0 upvotes
Features of Java Programming MEDIUM
Java is a versatile and secure programming language, famous for its reliability in the developer community. It is known as one of the earliest object-...
Groovy Script MEDIUM
In this blog, we will learn about Groovy Script. We will learn about its characteristics, features, and much more for better understanding.
Functional Programming in Java MEDIUM
In this article, we will discuss functional programming, its characteristics, how to implement it in Java, and the difference between imperative and declarative programming.
Inner Class in Java EASY
An inner class in Java is a class defined within another class. It enhances encapsulation, can access outer class members, and is categorized as static, non-static, or local.
Event Handling in Java EASY
Understand event handling in Java. Dive into using event listeners and listeners to capture and respond to user actions like clicks and keypresses in Java GUIs.
Advance Java Topics EASY
In this blog, we will learn about advanced Java topics. We will understand each concept in detail and later look at the differences for better understanding.
Java Generics Design Patterns MEDIUM
This article discusses Java Generics Design Patterns such as Factory, Strategy Bridge, Adapter, and Visitor. Generics help you write more flexible code.
Author Shiva
0 upvotes
Collections Class in Java EASY
In this article, we will talk about the Java Collections class, its declaration, and various classes within the collection framework.
Fibonacci Series in Java EASY
Understanding the Fibonacci Series in Java: A sequence of numbers where each number is the sum of the two preceding ones, commonly initiated with 0 and 1.
Pattern Programs in Java EASY
In this article, we will learn how to print a pattern in Java. Java pattern program is classified into three categories: Start Pattern; Number Pattern and Character Pattern.
Author Alisha
0 upvotes
Enterprise Java Beans (EJB) EASY
In this article, we'll discuss the types of EJB, when to use them, & their advantages & disadvantages. We will also learn how to implement this with the help of relevant examples.
Java Future Interface EASY
In this article, we will look at the basics of Java Future, like its syntax, methods, and how to use it in asynchronous programming.
Thread Safe in Java MEDIUM
thread-safe In Java refers to the property of code that guarantees correct behavior when multiple threads access shared data or resources concurrently.
Reverse a string in Java MEDIUM
Learn how to reverse a string in Java using StringBuffer, Stack, loops, and character arrays, etc. Explore multiple methods with examples for better understanding.
Abstract Design Pattern EASY
In this article, we will learn what the Abstract Factory Pattern is, its components, an example of how to use it, its advantages & disadvantages, and when to use or avoid this pattern.
Super and This Keywords in Java EASY
Learn about 'super' and 'this' keywords in Java to enhance your coding skills. Understand their usage and key difference between this and super keyword in java programming.
ClassLoader in java MEDIUM
Java classes are not loaded into the memory by default, but when a class is put to use, the Java Classloader is called by the JRE and loads it into the memory.
How to Use the Javac Command EASY
In this article, we will study how to use the Javac Command and check some examples.
Author akscrv
0 upvotes
Char to Int in Java EASY
In Java, convert a char to int by casting ((int) char) or subtracting '0' for digits. Casting gives the Unicode value, while subtracting '0' converts numeric chars (e.g., '5' → 5).
Difference between Class and Interface EASY
In this blog, you will be exploring the differences between classes and interfaces in OOP. You will also learn when to use each for effective software design.
Extending Interfaces HARD
In this article, we'll look at the interfaces in Java, their declaration and extending interface, along with some code examples.
Arrays.toString() in Java with Examples EASY
In this blog, we will learn about arrays tostring java. We will understand its core concepts and will also write program for better understanding.
Regular Expressions in Java EASY
Explore Java Regular Expressions with examples, covering the Pattern class, Matcher class, PatternSyntaxException class, and MatchResult interface.
Generic LinkedList in Java EASY
This article covers the concept of a generic linked list in Java, its logic, and its implementation.
Java @SuppressWarnings Annotation EASY
In this article, we will explore what the @SuppressWarnings annotation is, why and how to use it, and the different warning types it can suppress.
The @Deprecated Annotation in Java EASY
This article will explain what the @Deprecated annotation is, why it's used, how to apply it, and what it means for both developers and users of the code.
SOLID Principles in java MEDIUM
SOLID Principles in Java: The acronym SOLID stands for: Single Responsibility Principle (SRP), Open-Closed Principle (OCP), Liskov Substitution Principle (LSP), Interface Segregation Principle (ISP), and Dependency Inversion Principle (DIP).
Main Thread in Java MEDIUM
In this article, we will look at the basics of thread, the main thread in Java, the methods to control the main thread along with some working code examples.
Logical Operators in Java
Explore Logical Operators in Java: OR (||), AND (&&), NOT (!), XOR. Learn Java logical operators syntax, examples, and condition tables.
Sort Array in Java EASY
Learn how to sort arrays in Java with various methods like loops and user-defined functions. Master ascending and descending order sorting techniques
Binary Search in Java MEDIUM
Binary search in Java efficiently finds a target in a sorted array by repeatedly dividing the search interval in half, achieving O(log n) time complexity.
Difference Between Throw and Throws in Java EASY
Throw And Throws in Java is the concept of Java Exception Handling. Throw in Java is used within a method, while Throws in Java is used in the method declaration.

Basics

Java is one of the most popular and widely used programming languages and platforms. A platform is an environment that helps to develop and run programs written in any programming language.Java is fast, reliable, and secure. However to become proficient in any programming language, one firstly needs to understand the basics of that language. Let us learn the basics concepts.
Introduction to Java EASY
Explore the basics of Java programming with comprehensive introduction. Learn about Java's syntax, History, features, and more.
Java Full Stack Developer Roadmap EASY
In this article, we will explore the Java Full Stack Developer roadmap, covering essential front-end, back-end, database, frameworks, and tools for mastering full-stack development.
Is Java an Object-Oriented language? EASY
Yes, Java is an object-oriented programming (OOP) language. It uses concepts like classes, objects, inheritance, polymorphism, abstraction, and encapsulation to structure and organize code. In this article, we have discussed whether Java is an object-oriented language or not.
Top 10 Best Java Compiler
In this article, we will discuss the Best Java Compilers that include some examples of IDEs that are available to run Java codes.
Eclipse IDE for Java Developers EASY
In this blog, we will learn about Eclipse ide for Java developers. We will learn about debugging tools, version controls, and how to set up eclipse ide. We will also discuss its comparison with other IDEs.
What is Byte Code in Java? EASY
Java bytecode is an intermediate code generated by the Java compiler (.class files). It’s platform-independent and runs on the JVM, which converts it to machine code for execution on any OS.
IntelliJ vs Eclipse EASY
IntelliJ vs Eclipse: A comprehensive difference between IntelliJ and Eclipse. Learn about which IDE suits your needs best.
Transient Keyword in JAVA MEDIUM
Explore the significance of the 'transient' keyword in Java programming. Learn how it affects object serialization and discover best practices for handling transient fields in your Java applications.
How to Generate a Random Number in Java? EASY
This article will guide you through different ways to generate random numbers in Java, covering various methods with syntax, examples, and best practices.
Difference between Double and Float in Java EASY
In this article, we will discuss the float & double data types, their characteristics, and when to use each one effectively.
Java Program to Find the Area of a Circle EASY
In this article, we will learn how to write a Java program to find the area of a circle using the formula πr², taking user input for the radius and displaying the result.
Spy Number in Java EASY
In this article, we will learn what spy numbers are, with the help of some examples, and learn how to find them using a Java program.
Pronic Number Program in Java EASY
In this article, we will learn how to write a Java program to check whether a given number is a Pronic number, also known as a rectangular number, using logic and examples.
Print Prime Numbers from 1 to N in Java EASY
In this article, we will learn how to print prime numbers from 1 to a given number (N) using Java.
Tech Number in Java EASY
In this article, we will learn what a Tech Number is, how to identify it, and write a Java program to check if a given number is a Tech Number or not.
Sunny Number in Java EASY
In this article, we will discuss what sunny numbers are, how to check if a number is a sunny number, and will see its code implementation in Java.
Fascinating Number Program in Java MEDIUM
In this article, we will learn how to write a Java program to check if a number is a Fascinating Number by concatenating its multiples and verifying the digit sequence.
Perfect Square in Java EASY
In this article, we will discuss the concept of perfect squares in Java. We will learn how to identify perfect squares and implement different methods to check if a number is a perfect square with each approach and their respective examples.
Facade Design Pattern in Java MEDIUM
In this article, we will learn about the Facade Design Pattern in Java, its purpose, implementation, and how it simplifies complex system interactions using a unified interface.
Smith Number in Java EASY
In this article, we will learn what Smith numbers are, look at some examples, and learn how to find them using a Java program.
Dynamic Binding in Java EASY
In this article, we will learn dynamic binding in Java. We will learn how binding works in Java, its limitations and the difference between Static & Dynamic Binding.
Data Hiding in Java EASY
In this article, we'll discuss the concept of data hiding in Java, understand its importance, and see how it can be implemented effectively.
retainAll() in Java EASY
In this article, we will learn about the retainAll() method in Java, which is used to retain only the common elements between two collections, modifying the original list.
Difference between Extends and Implements in Java EASY
In this article, we will discuss the differences between "extends" & "implements" in Java with the help of proper examples.
What is Core Java? EASY
In this article, we will learn what Core Java is, discuss the different Java editions available & understand how it differs from Advanced Java.
Math.abs() Method in Java EASY
This article will explain how to use Math.abs(), provide examples, and discuss its key features.
Buffer Reader in Java EASY
In this article, we will discuss the BufferedReader class in detail, like its declaration, constructors, methods, and examples of using it to read data from various sources.
Static Method in Java EASY
In this article, we will discuss the features, syntax, & usage of static methods in Java. We will also understand the restrictions & differences between static & instance methods.
Readline in Java EASY
In this blog, we will learn about Readline in Java. We will understand its core concepts, its usage, and much more for better understanding.
What Is Externalization In Java? MEDIUM
In this article, we will learn about Externalization in Java, how it differs from Serialization, and how to use the Externalizable interface for custom object serialization.
What is Optional Class in Java 8 EASY
In this article, we will learn what the Optional class is, how to declare it and will see different examples to understand it better.
Scanner Class in Java EASY
Taking input from a user in a program is an essential part of writing good code and Scanner class in Java is used for this very purpose.
Do While in Java EASY
In this blog, we will learn about Do While in Java. We will understand its core concepts, its usage, and much more for better understanding.
wait() and notify() in Java EASY
In this article, we will discuss the wait() & notify() methods in Java, and understand their use, variations, & differences.
What is Servlet in Java? MEDIUM
A Java Servlet is a server-side Java program that handles HTTP requests and responses, enabling dynamic web content generation for web applications.
Spiral Matrix in Java EASY
In this article, we'll discuss the unique concept of spiral matrices, understand how to generate them using Java code and look into different approaches to solve problems related to this.
Deep Cloning and Shallow Cloning in Java
In this article, we will discuss the concepts of shallow copying, deep copying, & cloning in Java. We will also look at proper examples to understand these concepts.
Producer Consumer Problem in Java EASY
In this article, we will discuss the Producer-Consumer problem in detail, understand its challenges, and learn how to implement effective solutions using Java.
String Pool in Java MEDIUM
String Pool in Java is a special memory region where the Java Virtual Machine stores String literals. In this article we will understand oJava String Pool and how to use it in your coding projects, making your applications more memory efficient.
Component Class in Java EASY
In this article, we will learn about the Component class in Java, its role in AWT, key methods, and how it helps in building graphical user interfaces.
Behavioral Design Patterns EASY
In this article, we will discuss different types of behavioral design patterns, their uses & implementation in various programming languages.
Adapter Design Pattern in Java EASY
In this article, we will discuss the components of the Adapter Design Pattern. We will see an example of how it works, understand why we need it, and discuss when not to use it.
Java Synchronized Method EASY
In this article, we will discuss the concept of synchronized methods in Java. We will understand why synchronization is needed, the types of synchronization, & how to use synchronized methods.
Print Stack Trace Method in Java EASY
In this article, we'll discuss the syntax of the printStackTrace() method, how it works, with examples.In this article, we'll discuss the syntax of the printStackTrace() method, how it works, with examples.
Alphabet Pattern Program in Java EASY
In this article, we will see several examples of alphabet pattern programs in Java & understand the step-by-step process of creating them.
Tower of Hanoi in Java MEDIUM
In this article, we'll discuss the Tower of Hanoi puzzle using Java programming. We'll look into the problem statement and the rules of the puzzle, and see how to solve it using recursion.
Java Math min() method EASY
In this article, we'll discuss the Math.min() method in Java, its syntax, parameters, return value, and examples to help you understand how to use it effectively in your code.
How to Set Path in Java? EASY
In this article, we will learn how to set the Java path in both Windows and Linux operating systems.
Dynamic Memory Allocation in Java MEDIUM
In this article, we will discuss the basics of dynamic memory allocation in Java, like the role of the Java Virtual Machine (JVM) and the differences between stack and heap memory.
Diamond Pattern in Java EASY
In this article, we'll explain the diamond pattern in detail, which covers the problem description, illustration, algorithm & code examples with different looping methods.
CRUD Operations in Java EASY
In this article, we'll learn about CRUD operations in Java, discussing each operation in detail, with code examples, & showing their implementation in a real-world scenario.
Concrete Class in Java EASY
A concrete class in Java is a class that has complete implementations for all its methods. Unlike abstract classes, it can be instantiated to create objects.
Completablefuture in Java 8 EASY
In this article, we will learn what CompletableFuture is, how to create & use it, how to compose multiple CompletableFutures, & how to handle exceptions.
Java Scanner delimiter() Method EASY
In this article, we will learn about the `delimiter()` method of the Java Scanner class, how it works, and how to use it to change the token separator while parsing input.
Return Statement in Java EASY
In Java, the return statement exits from a method and optionally sends a value back to the caller. It's used in methods with or without a Java return type (void for no return value).
Lombok in Java EASY
In this article, we'll learn what Lombok is, why it's useful, its key features, how to use it in a Java project & with code examples.
Java Assert EASY
In this article, we will learn what assertions are, how to use them in Java, & when they can be most effective.
setBounds Method in Java MEDIUM
In this blog, we will learn about setBounds Method in Java. We will understand its core concepts, syntax, and learn about parameters and much more for better understanding.
Java Class getMethod() Method EASY
In this article, we will discuss this method in detail, like the syntax, parameters, return value, & exceptions of the getMethod() function.
Disarium Number in Java EASY
In this article, we will learn what disarium numbers are, look at some examples, & learn how to check if a number is a disarium number or not.
Extends Keyword in Java EASY
In this article, we will learn about the extends keyword in Java, its syntax, examples of how to use it, and what happens when we try to extend a final class or interface.
Matrix Addition in Java EASY
This article will explain how to implement matrix addition in Java and discuss its time and space complexity.
Resultset In Java EASY
In this article, we will learn about the commonly used methods of the ResultSet interface with an example of a scrollable ResultSet.
Floyd Triangle in Java EASY
In this article, we will learn about Floyd's Triangle, look at an illustration to understand it better, go through the algorithm to create it, and see how to implement it in Java code step-by-step.
Predicate in Java 8 EASY
In this blog, we will learn about Predicate in Java 8. We will learn about its characteristics, features, and much more for better understanding.
Difference between Core Java and Advanced Java EASY
In this article, we will learn the main differences between Core Java & Advanced Java, which will eventually help you understand their specific roles in the Java ecosystem.
Equals and Hashcode in Java MEDIUM
In this article, we will learn the basics of equals() & hashCode(), their syntax, and principles, with examples.
Math.sqrt() Method in Java EASY
In this article, we'll learn how to use Math.sqrt() in Java, along with examples to help you understand its use.
Application of Java EASY
In this article, we will look into the diverse applications of Java & understand how it is used in software development to build innovative solutions across different domains.
Forest Transformation in Java EASY
In this article, we'll discuss the basics of forest transformation in Java, such as what it is and how it works.
Java Program for Decimal to Binary Conversion EASY
In this article, we will learn how to write a Java program to convert a decimal number to binary using methods like recursion, bitwise operations, and `Integer.toBinaryString()`.
Program to calculate the area of rectangle in Java MEDIUM
In this article, we will learn how to calculate the area of a rectangle in Java using a simple formula with user input and different methods for better understanding.
Java Unicode System EASY
In this article, we will learn about the various types of encoding, the reasons why Java uses the Unicode system, what the Unicode system is, how to convert UTF-8 to Unicode using a Java program, & the problems caused by Unicode.
FizzBuzz Program in Java MEDIUM
In this article, we will learn how to implement the FizzBuzz program in Java, a common coding challenge that prints "Fizz," "Buzz," or "FizzBuzz" based on divisibility.
Java Random Number EASY
In this article, we'll discuss the 3 different methods Java offers for generating random numbers & learn how to use them effectively in your code.
Java Scanner next() Method EASY
In this article, we will focus on the next() method of the Scanner class, which reads the next token from the input as a string.
Library Management System Project in Java EASY
In this article, we will look at how to create a basic library management system using Java. We will learn the key features with code examples to help you with the program.
Memory Leak in Java EASY
In this article, we'll explore what memory leaks in java are, their symptoms, causes and their prevention techniques.
Data Access Object(DAO) in Java EASY
In this article, we will discuss the DAO pattern, its functionalities, key components, implementation in Java, use cases, advantages & disadvantages.
Static vs Final Keyword in Java EASY
This article will explore the differences between static and final, their uses, and how they affect the behavior of variables and methods in Java.
Neon Number in Java EASY
In this article, we'll talk about neon numbers in detail. We will learn how to check if a number is a neon number using Java code, discuss the algorithm and pseudo code, and even look at a recursive approach.
Automorphic Number in Java EASY
In this article, we will learn what automorphic numbers are, how to find them, & see how to implement a Java program to check if a given number is automorphic or not.
Java Interpreter EASY
In this article, we'll discuss what a Java interpreter is, how it works, its features, and how it differs from a compiler.
Setting up the environment
In this article, we will explain how to set up Java on different Operating Systems.
Legacy Class in Java EASY
In this article, we will discuss some of the most commonly used legacy classes and interfaces in Java, which are Hashtable, Stack, Dictionary, Properties, Vector, and the Enumeration interface.
Java Naming Conventions EASY
In this article, we will talk about the different types of naming conventions used in Java for classes, interfaces, methods, variables, constant variables & packages.
Superclass In Java EASY
In this article, we will discuss the characteristics of the super keyword in Java, its various uses with variables, methods & constructors & the advantages it offers in object-oriented programming.
Java Default Method EASY
Default methods are particularly useful for evolving APIs. Before Java 8, adding a new method to an interface required all implementing classes to provide an implementation.
Java Program to Find all Roots of a Quadratic Equation EASY
In this article, we will learn how to find all the roots of a quadratic equation in Java using the quadratic formula, considering real and complex roots.
Java Time Duration EASY
In this article, we will discuss the Java Time Duration class, its fields, and methods, and examples of how to use it effectively.
New Keyword in Java EASY
In this article, we'll learn the syntax of the new keyword, looks into the process of object creation, and illustrate its use with practical examples.
Enterprise Java Beans (EJB) Architecture EASY
In this article, we will learn about the EJB architecture, its components, and how it works. We will also discuss the differences between EJB and regular Java Beans.
Reverse the Number in Java EASY
In this article, we will learn about different methods to reverse a number in Java, including using a while loop, recursion, & the StringBuilder class.
Association in Java MEDIUM
Exception handling in C++ is a mechanism to handle runtime errors using try, catch, and throw keywords.
Scope of Variables in Java EASY
This article will explore the different types of variable scopes in Java, with examples to illustrate each type.
Character Stream and Byte Stream in Java MEDIUM
In this article, we will learn about Character Stream and Byte Stream in Java, their differences, and how they handle character and binary data in file operations.
'this' Keyword in Java EASY
In this blog, we will learn 'this' Keyword in Java. We will learn about why it is used, syntax, parameters, and examples.
Math.max in Java EASY
This article will explain how to use Math.max with syntax, examples, key features, and practical applications.
Advantages and Disadvantages of Java EASY
In this article, we will discuss the advantages & disadvantages of using Java & help you understand when it might be the right choice for you.
Object Class in Java MEDIUM
In this article, we will discuss the Object class in Java & learn about its various methods with proper examples.
How to Check Java Version? EASY
In this article, we will learn about the components of the Java language & learn how to check the Java version on different operating systems like Windows & Mac.
What is JDK in Java? EASY
The Java Development Kit (JDK) is a software package that provides tools to develop, debug, and run Java applications. It includes the JRE, compilers, and essential libraries.
Scanner and nextChar() in Java EASY
In this article, we'll discuss what nextchar does and how to use it properly. We'll cover the syntax for calling nextchar, and how to declare a Scanner to use it with code examples.
Types of Classes in Java MEDIUM
In this article, we will look into each of these class types, explaining their definitions, use cases, and syntactical implementations.
Java And Operator EASY
This article will talk about the syntax, usage, & practical applications of the && operator.
Preparedstatement Java MEDIUM
In this blog, we will learn about Preparedstatement Java. We will learn about its characteristics, features, and much more for better understanding.
Nested Loops in Java EASY
Nested loops are useful when you need to perform a series of operations within a multi-dimensional data structure or create complex patterns.
Java Primitive Data Types MEDIUM
In Java, primitive data types are the most basic data types, offering predefined values. They include byte, short, int, long, float, double, char, and boolean.
Optional Class in Java 8 EASY
In this article, we'll discuss what optional classes are, how to use them, & the benefits of using them in our Java code.
Java 11 Features EASY
In this blog, we will learn about Java 11 Features. We will learn about its characteristics, features, and much more for better understanding.
Odd or Even Program in Java EASY
In this article, we'll see different methods to determine the nature of a number using Java. We will start with simple checks using the modulo operator and then move on to to more advanced methods that use bitwise operations.
Methods in Java EASY
Methods in Java are blocks of code that perform specific tasks and are reusable. They can have parameters, return values, and are defined using returnType methodName(parameters).
Reference Variable in Java EASY
Reference variables are a fundamental concept in Java and are crucial for object-oriented programming, allowing for the manipulation and management of objects dynamically during the runtime of a program. In this article, we will learn about the concept of reference variables.
Robust Meaning in Java EASY
In this article we will Understand the robust meaning in Java as it is crucial for coding students because it directly impacts their ability to write effective and resilient code.
JVM (Java Virtual Machine) and its Architecture EASY
JVM stands for Java Virtual Machine. It is a crucial component of the Java Runtime Environment (JRE) and Java Development Kit (JDK). In this article we will learn about JVM in java and its architecture.
Difference between volatile and transient keywords in Java MEDIUM
In this article, we will learn about the difference between the volatile and transient keywords in Java, their usage, impact on serialization, and memory handling.
Java Program to Compute GCD EASY
In this article, we will learn various methods to calculate the GCD in Java, including the general method, the Euclidean algorithm using repeated subtraction, & the Euclidean algorithm using repeated division.
Java Program to Calculate Simple Interest EASY
In this article, we will learn how to calculate simple interest in Java using the formula SI = (P × R × T) / 100. We will implement it with user input.
Caesar Cipher Program in Java EASY
In this article, we will learn how to implement the Caesar Cipher program in Java, including encryption and decryption techniques with code examples.
Structure of Java Program MEDIUM
In this blog, we will learn about Structure of Java Program. We will understand its core concepts, its usage, and much more for better understanding.
Comparable Interface in Java EASY
In this article, we will look into the Comparable interface, discuss its compareTo() method, & show how to utilize it with Collections class to sort objects efficiently.
Difference between JDK, JRE and JVM MEDIUM
In this blog, we will discuss the differences between JDK JRE and JVM.
Mutable and Immutable Objects in Java MEDIUM
In this article, we will learn about mutable and immutable objects in Java and how they differ in terms of state management and thread safety.
While Loop in Java EASY
A while loop in Java repeatedly executes a block of code as long as its specified condition is true, making it ideal for uncertain iteration counts.
Math Functions in Java EASY
In this blog, we will learn about Math Functions in Java. We will understand its core concepts, its usage, and much more for better understanding.
Method Reference in Java 8 EASY
In this blog, we will learn about Method Reference in Java 8. We will learn about its characteristics, features, and much more for better understanding.
OOPS Concepts in Java EASY
In this blog, we will learn about OOPS Concepts in Java. We will understand its core concepts, its usage, and much more for better understanding.
Just In Time Compiler
This blog will cover the Just In Time Compiler.
Modulo or Remainder Operator in Java EASY
In this blog, we will learn about Modulo or Remainder Operator in Java. We will understand its core concepts, its usage, and much more for better understanding.
Composition in Java
tion is achieved by including an instance of one class within another class. This powerful technique enables code reuse, flexibility & helps in designing clear, modular programs.
Process vs Thread in Java
In this blog, we will learn about Process vs Thread in Java. We will first understand what is a process and thread. Later in the blog, we will look at the differences between the two.
Object Creation in Java EASY
In this article, we will discuss different object creation methods in Java, like using the new keyword, new instance, clone() method, deserialization, and the newInstance() method of the Constructor class.
Strong Number in Java EASY
When the sum of the Factorial of each digit of the number is equal to the number itself is called a Strong Number. In this article, we will learn how to check Whether or Not the Given Number is a Strong Number in Java.
Nested Class in Java MEDIUM
In this blog, we will learn about Nested Class in Java. We will understand its core concepts, its usage, and much more for better understanding.
Java Global Variables EASY
In this article, we will discuss Java global variables. Understanding how to declare, initialize, and use global variables is crucial for efficient and organized coding in Java.
Type Casting in Java MEDIUM
In this blog, we will learn about Type Casting in Java. We will understand its core concepts, its usage, and much more for better understanding.
Java Program to Find All Palindromic Sub-Strings of a String
In this blog, we will learn about Java Program to Find All Palindromic Sub-Strings of a String. We will understand the time complexity of the program.
Best Java Visualizers MEDIUM
Java Visualizers are tools to debug code step-by-step visually, aiding in understanding program flow. In this article, we will learn about Java Visualizers in detail and discuss some of the best Java Visualizers in use.
Java Map containskey EASY
In this blog, we will learn about Java Map containskey. We will understand its core concepts, its usage, examples, and much more for better understanding.
Java Char Keyword MEDIUM
The char data type in Java is used to store a single character. It's one of the primitive data types, along with int, float, double, & others. When you declare a variable as a char, it can hold a single Unicode character.
Difference Between JIT and JVM
Explain JIT and its working in brief. Highlight the key differences between JIT and JVM.
Map interface in Java MEDIUM
In Java, the Map interface represents a collection of key-value pairs. It doesn't allow duplicate keys and provides methods to manipulate, retrieve, and store mappings efficiently. In this blog, we will learn about Java Map.
Java Standalone Application MEDIUM
In this article, we will learn what we mean by Java standalone applications and how we can create them.
Iterate Map in Java MEDIUM
In this blog, we will learn about how to Iterate Map in Java. We will understand how to use the map in Java and also different ways to iterate a map in Java, with their advantages and disadvantages.
How to Print in Java? EASY
In this article, we'll learn the different approaches to printing in Java, which are the print(), println(), & printf() methods.
Java List EASY
In this blog, we will learn this Java List. We will learn about why it is used, syntax, parameters, and examples.
Generic Comparator in Java MEDIUM
In this blog, we will learn about Generic Comparator in Java. We will write code to further understand how Generic Comparator works.,
Volatile Keyword in Java EASY
The volatile keyword in Java ensures a variable's value is always read from main memory, not cached. It guarantees visibility of changes across threads but not atomicity.
Arrow Operator Java EASY
In this blog, we will learn about the arrow operator in java. We will look at its syntax, implementation and benefits.
How to Use typeof in Java? EASY
In this article, we'll discuss how to use the typeof operator in Java and look at different approaches to determine the type of an object.
Final Class in Java EASY
A final class in Java is a type of class that cannot be inherited by other classes.
What is Instance in Java? EASY
In this, we'll discuss the concept of instances in Java, their characteristics, and how they fit into the broader context of object-oriented programming. 
Difference Between Byte Code and Machine Code
Bytecode is a form of code generated from the compilation of source code. Whereas machine code is the CPU-understandable language stored in binary format.
Star Pattern in Java EASY
Creating a star pattern in Java involves using nested loops — one loop for the rows & another for the columns. These loops help in printing spaces & stars in the correct sequence to form the desired pattern.
System Class in Java EASY
In this article, we will discuss the main features of the System class, like its fields, methods, and common use cases.
Why is Java Platform Independent? EASY
To understand what Platform independence means, how is it a feature of Java, what happens in other languages in C++, and Why is Java Not Completely Platform Independent.
Increment Date in Java EASY
In this article, we will learn about Increment Date in Java. We will write codes for local date, local time and many other functions in java.
Collections in Java EASY
Learn the types of collections in Java with examples. Understand Java Collection Framework, its architecture, usage, and real-world applications.
Loose Coupling in Java MEDIUM
Coupling in Java is the measure of how much one class knows about the structure and properties of another class.
Keywords in Java EASY
Explore the complete list of keywords in Java and understand their importance in Java programming. Learn how keywords in Java control the flow and structure of code.
Introduction to Variables
Learn about variables and how to use them in Java. Explore the different types of variables with examples.
Local Variable in Java EASY
In this article, we'll learn what local variables are, how to declare them, & see examples of how they're used. We'll also cover the concept of scope & how it relates to local variables.
Instance Variable in Java EASY
An instance variable in Java is a variable defined inside a class but outside any method, constructor, or block. It belongs to each object of the class and retains unique values for each instance.
Introduction to Data Type
Today, we will learn about data types in java
Difference between Primitive and Non-Primitive Datatypes
In this blog, we will learn about different types of datatypes and what distinguishes them into Primitive and Non-Primitive Datatypes.
Difference between List and Set in Java EASY
A list is a collection of elements, where each element has an index that starts from 0. A set is a collection of unique elements. It is unordered, so there is no indexing as in the list from 0 to n.
Author akscrv
0 upvotes
Difference between Abstract Class and Interface in Java EASY
In this article, we will understand the characteristics of abstract classes & interfaces, discuss their unique features, & learn when to use each one. We will also see code examples to understand their use cases and implementation.
Constant
This article shall discuss the concept of constants in the Java programming language.
How to Create Immutable Class in Java MEDIUM
To create an immutable class in Java, use final keyword for class, make fields private, and provide only getter methods. Read on to learn how to create immutable class in java.
Non Access Modifiers in Java EASY
In this article, we will discuss the different non-access modifiers in Java, their significance, and how to use them effectively.
Difference Between print and println in Java EASY
In this article, we will learn the difference between print and println in Java, how they handle output formatting, and when to use each method effectively.
Java Extend Multiple Classes EASY
In this blog, we will learn about Java Extend Multiple Classes. We will understand the basics of inheritance and composition and also write codes for better understanding,
BigDecimal Class in Java EASY
The BigDecimal class in Java provides precise control over decimal numbers, supporting arithmetic, rounding, and scaling, often used for financial calculations.
Java vs .Net : Difference between Java and DotNet
Java is a platform-independent, open-source programming language, while .NET is a Microsoft framework supporting multiple languages. Java In this article, we are going to learn the difference between the Java and .net languages in detail.
Java vs Ruby
This article introduces you to the concept of java and ruby along with a detailed java vs ruby comparison.
Scala and Java EASY
In this article, we will discuss Scala and Java, along with their features, differences, advantages, and disadvantages. We will also compare scala and java briefly on various parameters and with some basic codes.
Hash Collisions in Java EASY
In this article, we will discuss the concept of hash collisions in Java and discuss different collision resolution techniques, with the help of examples to show their implementation.
Sort String in Java EASY
In this blog, we will learn about Sort String in java. We will understand its core concepts, its usage, and much more for better understanding.
Converting a List to String in Java EASY
In this article, we will learn how to convert a List to a String in Java using different methods like String.join(), Stream API, and StringBuilder with examples.
Converting Long to Int in Java EASY
In Java, converting a long to an int is a process of narrowing primitive conversion. Since the range of long is larger than that of int, such a conversion might lead to data loss if the value of the long exceeds the range of int.
Functional Interface in Java EASY
In this article, we will discuss about the functional interface in Java. We will understand how this can be implemented in Java and why to use it.
Perfect Number in Java EASY
A perfect number is a positive integer that is equal to the sum of its proper divisors (excluding itself).
Java Data Types EASY
Learn about Java data types, their characteristics & how to use them effectively in programs. Master primitive & non-primitive data types for better coding.
Methods to Print New Line in Java EASY
A new line (end of the line (EOL), line break) signifies the end of a line and the beginning of a new one. There are five methods to create a new line in Java. Read on to learn about them in detail.
System.out.println in Java MEDIUM
In this article, we will learn about the java system out println method. To know more, you can check the complete article.
Author Tisha
0 upvotes
Java Tokens MEDIUM
Java tokens are the smallest units of a program, including keywords, identifiers, literals, operators, and separators, used to construct Java code.
Cloneable Interface in Java EASY
In this article, we will discuss what the Cloneable interface is, how it is declared, and see some examples of how to use it in Java. We will also learn about deep copying using the clone() method.
Varargs in Java(Variable Arguments) MEDIUM
The Java varargs notion is a feature of the Java programming language that makes it easier to create methods that can accept a variable number of arguments.
Remove an Element From an Array in Java MEDIUM
In this article, we'll learn about the  different ways to remove elements from an array in Java, including using a for loop, deleting an element by its value, handling duplicate elements, shifting elements within the array, & deleting elements from an ArrayList.
Difference‌ ‌Between‌ ‌Java ‌and‌ ‌JavaScript MEDIUM
Discover the differences between Java and JavaScript: meanings, features, uses, and key distinctions. Dive into FAQs for a comprehensive understanding of Java vs JavaScript.
Identifiers in Java EASY
In this article, we will discuss the concept of identifiers in Java, understand their importance, and learn the rules for defining them. We will also look at different examples of valid and invalid identifiers and discuss reserved words in Java.
What is Literals in Java Programming EASY
In this article, we will discuss the different types of literals in Java, as well as their usage and limitations.
Java Lambda Expressions EASY
This article covers the meaning, syntax, parameters, uses, functionality, and characteristics of Java lambda expressions. Explore lambda expression in Java with examples, advantages, and disadvantages.
isDigit Java EASY
Java isDigit() function serves to verify whether a provided character is a digit. It accepts a character or codepoint value as input and yields a boolean outcome.
Collections in Java EASY
This blog will discuss set collection in Java. We will further discuss how to use the set and implement various types of operations of set collection in Java.
Author Akash
0 upvotes
Collections in Java MEDIUM
This blog will discuss set collection in Java. We will further discuss how to use the set and implement various types of operations of set collection in Java.
Data Types And Identifier In Java EASY
In this article, we will discuss about the data types and identifiers in java.
Static Variable in Java EASY
In this blog, we will learn about static variable in java. We will understand its core concepts,and learn about its advantages, disadvantages and much more for better understanding.
Difference Between Servlet and JSP MEDIUM
Servlet technology is utilized for web application development, and JSP serves the same purpose as Servlets.
HttpSession Interface in Servlet MEDIUM
This article will teach us about HttpSession Interface in Servlet, its working, different methods, advantages and disadvantages, etc.
Access Modifiers in Java MEDIUM
Access Modifiers in Java—public, private, protected, and default—control the visibility of classes, methods, and variables, ensuring security and encapsulation in Java programming.
Learn Core Java Programming For Free With Coding Ninjas
In this blog, we will discuss how to learn core java programming for free with coding ninjas and what syllabus will be covered in this course.
Difference Between Checked and Unchecked Exception EASY
Checked exceptions in Java must be handled or declared, while unchecked exceptions (runtime exceptions) don't require explicit handling or declaration.
Verify Java EASY
How to verify Java refers to the correct functioning of the Java version in your system. There exist numerous versions and methods to verify Java Version.
Final Keyword in Java EASY
In this blog, we will discuss this and the final keywords in java in deep detail with various examples.
How to get started with Deep Java Library? MEDIUM
In this blog, we will discuss deep java library. We will further discuss how to setup and use the deep java library.
Finalize() Method in Java MEDIUM
The finalize() method in Java is called by the garbage collector before an object is removed from memory. It allows for cleanup activities, like releasing resources, before the object is destroyed.In this blog, we will discuss the Finalize Method in Java along with the syntax, uses in different scenarios, advantages, and disadvantages.
Non Primitive Data Types in Java EASY
In this article, we will discuss data types in Java and further we will learn about Non Primitive Data Types in Java and their implementation.
HashCode() Method in Java MEDIUM
The hashCode() method in Java returns an integer hash code for an object, used in hashing-based collections like HashMap and HashSet. It ensures efficient data retrieval by mapping objects to buckets.
Method Signature in Java MEDIUM
In this blog, we will learn about method signature in Java along with the need for method signature, examples, and code.
Java Program to Check Leap Year EASY
In this blog, we will be writing a leap year program in Java that takes a year as input and determines whether that year is a leap year or not.
Author Vikash
0 upvotes
Runnable Interface in Java MEDIUM
In this article, we will discuss the runnable interface in java with examples. We will also discuss the implementation , errors, advantages and disadvantages associated with it.
Difference Between Callable and Runnable in Java MEDIUM
The Callable and Runnable interfaces in Java are both used to represent tasks that can be executed by another thread.
Applet Life Cycle in Java MEDIUM
The Applet Life Cycle in Java includes init(), start(), paint(), stop(), and destroy(), defining its creation, running, display, suspension, and termination
Author Vikash
0 upvotes
Difference Between a Java Application and a Java Applet MEDIUM
In this blog, we will learn about the difference between applet and application and some frequently asked questions.
Java Programming Challenges MEDIUM
This blog discusses the most frequently asked Java programming questions with their solution with the best possible approach.

Control statements

Java compiler executes the code top to bottom. The statements in the code are executed according to the order in which they appear. However, It provides statements that can be used to control the flow of its code. Such statements are called control flow statements. It is one of the fundamental features of Java, which provides a smooth flow of program.Java provides three types of control flow statements selection statements, iteration statements, and jump statements.
Decision Statements in Java
This blog will cover the different Decisional control statements in Java.
Decision Making in Java EASY
Decision-making in Java involves using control flow statements like if, if-else, switch, and conditional operators to execute specific code blocks based on evaluated conditions.
Enhanced For Loop In Java EASY
In this article, we will discuss the advantages, syntax, & working of the enhanced for loop, along with examples
Conditional Statements in Java (If-Else Statement) EASY
This blog will discuss conditional statements in Java. We will learn about If, If-Else, and switch conditional statements in Java.
Control Statements in Java
In this article, we will discuss the different types of control statements in Java and understand how they can be used.
Iteration Statements in Java EASY
This article shall discuss the various iteration statements that are available in Java. We shall learn about each type of loop that can be used in Java.
For Loop in Java EASY
In this article, we'll discuss the syntax, parts, and functionality of the Java for loop. We'll also look into variations like nested loops, the for-each loop, and even the very famous infinite loop.
Loops in Java With Examples and Syntax EASY
Loops in Java include for, while, and do-while loops. We can control program flow, enhance efficiency, automate tasks, and iterate through data structures with Java loops.
Break and Continue Statement in Java EASY
In this article, we will talk about the syntax & usage of break & continue statements in Java, along with practical examples to display their behavior.
Infinite For Loop in Java EASY
In this article, we will learn what an infinite for loop is, how it works, with example and it’s explanation.
Jump Statements in Java MEDIUM
Jump statements in Java, like break, continue, and return, control the flow of execution, allowing you to exit loops, skip iterations, or return from methods.
Break Statement in Java EASY
This article covers the concept of Break Statement in Java and its different implementations along with some frequently asked questions
Iterable Interface in Java EASY
This blog explains the details of the Iterable Interface in Java and the difference between the Iterator and the Iterable interface in Java.
Nested If Statements in Java MEDIUM
A nested if statement is like a Russian doll of decisions, where one choice leads to another. It's used in programming just like regular ifs, but with added layers.

Operators

Operators are used for performing operations on variables and values. There are many types of operators in Java-like Unary Operator, Arithmetic Operator, Shift Operator, Relational Operator, Bitwise Operator, Logical Operator, Ternary Operator, and Assignment Operator.
Arithmetic Operator in Java
In this post, We will learn about Arithmetic operators in Java and various types of operators and expressions allowed by Java and how to use them using examples.
Unary Operator
This article will discuss the various unary operators and their examples in the Java programming language.
Java OR Operator EASY
In this article, we will discuss the functionality and usage of the Java "or" operator, with code examples to clear any doubt.
Operator Overloading in Java EASY
In this article, we'll discuss what operator overloading is, its advantages, and why Java doesn't support it.
Increment and Decrement Operators in Java EASY
In this article, we will discuss the different types of increment and decrement operators in Java, understand their syntax, and see how they can be implemented in our codes.
Conditional Operator in Java EASY
In this article, we'll discuss the conditional operator in Java, its types, usage, examples, and benefits.
What is the Difference Between i++ and ++i in Java? EASY
This blog covers all the concepts of increment operators. Also, differences between post-increment and pre-increment operators along with some examples.
Java Operators MEDIUM
Learn about Java Operators, including arithmetic, logical, relational, bitwise, and more. Explore different types of operators in Java with examples and usage.
Logical AND operator && EASY
This article will discuss the Logical AND operator && in a detailed manner, along with code examples in various programming languages.
Bitwise Operators in Java EASY
Master Bitwise Operators in Java: Examples, Symbols, Syntax, and Functionalities. Explore All Types of Bitwise Operators in Java Programming.
Shift Operators in Java EASY
Shift operators in Java (<<, >>, >>>) shift bits of a number left or right, with << shifting left, >> shifting right (preserving sign), and >>> performing an unsigned right shift. This blog will cover the types and working of Shift Operators in Java.
Java Error “bad operand types for binary operator MEDIUM
In this blog, we will learn about bad operand types for binary operator in Java.

Arrays

Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
What is Array
This tutorial teaches you how to define array variables, build arrays, and process arrays using indexed variables.
Java Arrays EASY
Learn Java arrays with examples. Understand how to declare, initialize, and access arrays — a fixed-size collection of similar data types in Java.
Single Dimensional Array
This blog will cover the Single Dimensional Array.
Difference Between Array and Collection in Java MEDIUM
In this article, we will learn about the difference between Array and Collection in Java, their key characteristics, performance comparison, and when to use each.
Multi-Dimensional Arrays in Java
In this blog, we will learn about Multi-dimensional arrays, their declarations, functionalities, and uses.
One Dimensional Array in Java EASY
In this article, we will discuss what one-dimensional arrays are, how they work, and their code implementation.
How to Find Length of Array in Java? EASY
In this article, we'll discuss different methods to determine the length of an array in Java, with proper examples & explanations for each approach.
Array Index Out of Bounds Exception in Java EASY
In this article, we'll talk about the ArrayIndexOutOfBoundsException - what it is, why it occurs, and how to avoid & resolve it in your code. We'll see proper code examples to understand this in real scenarios.
How to Merge Two Arrays in Java? EASY
In this article, we will discuss different approaches to merging two arrays in Java, including using predefined functions, custom implementations, and Java's Collections framework and Stream API.
Java Array Indexof EASY
In this blog, we will learn about the Java Array Indexof method in detail.
Character Array in Java EASY
In this article, we will learn the basics of character arrays in Java, like how to declare, initialize, access & modify elements.
How to Convert ArrayList to Array in Java EASY
In this article, we will learn how to convert an ArrayList to an array in Java using different methods such as the toArray() method and stream API with examples.
How to Print Array in Java EASY
In this article, we will discuss different ways to print arrays in Java, like with the help of loops, built-in methods, and the Stream API.
How to Add an Element to an Array in Java? EASY
In this article, we will learn how to add an element to an array in Java using methods like Arrays.copyOf(), System.arraycopy(), ArrayList, and Java 8 Streams.
Array vs Arraylist in Java EASY
In this article, we'll discuss the key differences between arrays & ArrayLists in Java. We'll check out how to create & use them with code examples. This article will clear all your doubts regarding Array vs ArrayList in Java
How to Return an Array in Java? EASY
In this article, we'll discuss how to return arrays from methods in Java, talking about both one-dimensional & multi-dimensional arrays.
Java Program to Find Second Largest Element in an Array EASY
In this article we will see both of the two methods of finding the second largest element like using array and collections.
ArrayList size() method in Java EASY
In this article, we will discuss the ArrayList size() method in detail, like its syntax, return values, and practical examples.
Java Program to Find the Length or Size of an ArrayList EASY
In this article, we'll explore how to find the size of an ArrayList with clear examples and explanations. Let's dive in!
Arrays asList() in Java EASY
In Java, Arrays asList() is a utility method provided by the java.util.Arrays class that returns a fixed-size list backed by the specified array. It is useful for quickly converting an array into a List object.
Remove Duplicates From Array in Java MEDIUM
In this article, we will discuss different techniques to remove duplicates from an array in Java, like using extra space, constant extra space, sets, frequency arrays, and hash maps.
Final Arrays
This article shall discuss the final array in Java and its code implementation.
Reflection Array Class
This article shall discuss the reflection array class in Java.
util.Arrays vs reflect.Array
This article shall discuss the comparison between util.Arrays and reflect.Array in Java programming language.
Jagged array in Java EASY
A jagged array in Java is an array of arrays, where each element is a reference to another array. The sub-arrays can have different lengths, allowing for a non-uniform structure. In this blog, we’ll understand jagged arrays in Java and its implementation.
How to Create Array of Objects in Java? MEDIUM
This article will discuss creating an array of objects in java. We will learn to declare, instantiate and two ways to initialise the array of objects.

Strings

String is a sequence of characters, For example: "hello" is a string containing a sequence of characters 'h' , 'e' , 'l' , 'l' , and 'o' . We use double quotes to represent a string in Java.In java, string is an immutable object which means it is constant and can not be changed once it has been created.
Why String is Immutable in Java? EASY
Java makes String immutable to preserve data integrity, allowing safer sharing of strings across threads and reducing the risk of unintended changes.
String Comparison EASY
This blog explains the details of different methods used for String comparison along with their syntax and examples.
String Concatenation in Java EASY
This blog explains the details of different approaches used for String concatenation along with their syntax and examples.
String Class Methods EASY
This blog contains the string class methods of the java programming language. Various examples are presented in the blog to explain the concept in detail.
Strings vs StringBuffer EASY
This blog explains the differences between String and StringBuffer, as well as a performance test to see how long they take to execute.
How to Convert String to Long in Java EASY
This article will explain the different methods to accomplish this conversion. We'll learn this conversion using different methods like the parseLong() method, the valueOf() method, and the constructor of the Long class.
Convert String to Array in Java EASY
In this article, we'll discuss different methods of converting a string to an array in Java. We'll explain how to use the toCharArray() method, split() method, StringTokenizer class and manually convert each character.
How to Declare String in Java? EASY
In this article, we will learn what strings are, how to create them, and the different interfaces & classes related to strings in Java.
Difference between Comparing string using == and .equals() Method in Java
In this article, we'll learn about the differences between using == and .equals() for string comparison in Java. We'll discuss the basics of each approach, with code examples, and will see when to use each one.
Generate Random String in Java EASY
In this article, we will learn how to generate a random string in Java using methods like `UUID`, `Random`, `SecureRandom`, and `Apache Commons Lang`.
How to Convert String to Json Object in Java EASY
Learn how to convert a string to a JSON object in Java with this step-by-step guide. Easy examples and solutions for beginners and developers.
Append() Method in Java: StringBuilder and StringBuffer MEDIUM
In this article, we will learn about the append() method in Java, its usage in StringBuilder and StringBuffer, and how it helps in efficient string manipulation.
StringBuffer Class
 In this blog, we will cover StringBuffer Class.
StringBuilder Class in Java
Discover the StringBuilder class in Java, its syntax, constructors, and methods. This article provides detailed examples to enhance your understanding of StringBuilder in Java.
How to Declare String Array in Java EASY
In this article, we will look into the process of declaring, initializing, and working with string arrays in Java. We'll discuss many different techniques and use cases and why it is useful.
StringTokenizer in Java EASY
StringTokenizer in Java is a legacy class used to break a string into tokens based on delimiters, though String.split() is now preferred.
StringUtils IsEmpty EASY
This article will discuss the IsEmpty method of StringUtils class. We will learn to use the IsEmpty method to check if a CharSequence is empty or null.
Java Convert String to Boolean MEDIUM
This article discusses the concept to change string to boolean and ways to convert string to boolean in Java and Javascript.
Special String Operations in Java EASY
This article explains all the special string operations in Java String class with the help of various examples and programs.
How to convert String to Float in Java? EASY
In this article, learn how to convert string to float in Java and float to string in Java with examples.
Author Manshi
0 upvotes
Strings in Java EASY
Explore strings in Java with examples. Learn to create strings in various ways and understand Java string classes, including StringBuffer and StringBuilder.

Functions

A function is a block of code that performs a specific task. If some functionality is performed at multiple places in software, then rather than writing the same code, again and again, we create a function and call it everywhere. This helps reduce code redundancy. Functions make maintenance of code easy as we have to change at one place if we make future changes to the functionality. Functions make the code more readable and easy to understand.
Types Of Methods
In this blog, we will be learning about Types Of Methods.
How to Call a Method in Java? MEDIUM
Learn how to call a method in Java with this comprehensive guide. Understand Java method calls and enhance your coding skills with step-by-step instructions.
Static Blocks In Java EASY
Static blocks in Java can be created using the static keyword. The static blocks in Java are automatically called once every time a Java class executes.
Static and Instance Methods in Java MEDIUM
Instance methods in Java require an object of the class, while static methods can be called directly from the class without an object.
Why Main Method is Static in Java? MEDIUM
This article explores why the main method is static in Java, covering its structure, purpose, and key components for program execution.
Author Rashi
0 upvotes
Pass by Value and Pass by Reference in Java EASY
In this article, we will learn what pass by value & pass by reference mean, how Java handles them, & look at examples using both primitive types & objects.
Method Overriding In Java EASY
Learn method overriding in Java with examples. Understand how a subclass overrides a superclass method to provide specific implementation.
Virtual Function in Java EASY
In this article, we will discuss the concept of virtual functions in Java, understand how they are used, and look into different examples to understand their implementation.
Difference between Static and Non Static Method in Java EASY
In this article, we will discuss the main differences between static and non-static methods, like how they are accessed, called, bound, overridden, allocated memory, initialized, and scoped with examples.
Dynamic Method Dispatch or Runtime Polymorphism in Java MEDIUM
Learn about Dynamic Method Dispatch (Runtime Polymorphism) in Java, including method overriding, examples, advantages, disadvantages, and applications.
Can we Overload or Override static methods in java? MEDIUM
This blog covered the topics of Overloading and Overriding static methods in java.
Wait() Method in Java EASY
In this article, we'll look at the syntax, parameters, return value, and exceptions of the wait() method in Java.
Method Hiding in Java EASY
This article will discuss the method hiding in java in detail with the help of some examples.
Call by Value and Call by Reference in Java EASY
In Java, Call by value" passes a copy of the variable, so changes don't affect the original. Objects use references, but the reference itself is passed by value.
Collections swap() method in Java with Examples EASY
The Swap function in java as the name suggests is use to swap two values of a particular array with each other.In programming languages like Java we have to frequently use this swap function in different scenarios.
Java Math.round() method with Examples EASY
In this article, we will discuss Java Math.round() method with Examples, which helps to round off decimal values to its nearest integer.
Math pow() Function in Java EASY
Learn about the Java Math pow() function, which calculates the power of a number. Discover syntax, examples, and practical applications for efficient coding.
Math pow EASY
In this article, we will discuss math pow, its implementation, and its usage in programming languages with some examples.
Collections.reverseOrder() Method in Java with Examples EASY
The reverseOrder() method in Java's Collections class helps sort a collection in reverse order by returning a special tool called a comparator.
Java Scanner Nextdouble() method MEDIUM
Discover the Java Scanner nextDouble() method with examples, outputs, parameters, and return values. Learn nextDouble in Java, complete with FAQs for better understanding.
parseInt() Method in Java MEDIUM
The parseInt() method in Java converts or parses the string representation of numeric data into actual integer values.

OOPs

OOP or Object-Oriented Programming is a programming model or paradigm which revolves around the concept of “OBJECTS”.Objects can be considered as real-world instances of entities like class, that have some characteristics and behaviors.
What is an Object in OOPs(Object Oriented Programming) EASY
In this article, you will understand what is an object in oops, examples of objects, implementation and the difference between objects and classes.
Classes and Objects in Java EASY
In this article, we will discuss classes and objects in Java language. We will also discuss their components and check out their examples.
Anonymous Class In Java
In this article, we will talk about what anonymous classes are in Java. We will even explore different aspects of anonymous classes in Java.
Abstract Class in Java EASY
An abstract class in Java is a blueprint that cannot be instantiated and can include abstract methods, which must be implemented by subclasses, and concrete methods that can be inherited.
BigInteger in Java EASY
BigInteger in Java is a class in java.math for handling arbitrarily large integers. It supports operations like addition, subtraction, multiplication, division, and modular arithmetic.
Comparator Interface in Java MEDIUM
In this article, we will cover the Comparator Interface in Java Collection, its methods, and examples to solidify the understanding of the concept.
Author Shiva
0 upvotes
Singleton Class in Java EASY
A Singleton class in Java ensures only one instance of the class is created during runtime. It provides global access to that instance, which is commonly used for resource management.
Constructors
This blog will discuss constructors in java.
Instantiation in Java EASY
Instantiation in Java refers to the creation of a new object from a class. To instantiate a class, utilize the 'new' keyword along with the class name and any necessary arguments.
Default Constructor in Java EASY
Default Constructor in Java not take any parameters and is automatically generated by the compiler if the programmer does not define any constructors. Read more to learn about default constructors in Java.
Parameterized Constructor in Java EASY
Parameterized constructors in Java define the initial state of an object by requiring one or more arguments during initialization.
Copy Constructor in Java EASY
A copy constructor in Java is a constructor that creates a new object by copying the attributes of an existing object. Java doesn't provide it natively, but it can be implemented manually.
Difference between Constructor and Method in Java EASY
Constructors and methods are two important concepts in object-oriented programming. Both are used to perform different tasks in a class and help in creating and manipulating objects.
Constructor in Java EASY
A constructor in Java is a special method used to initialize objects. It has the same name as the class and is called automatically when an object is created.
Getter and Setter in Java EASY
This blog covers the concept of the getter and setter in Java along with its examples. Getter and Setter methods in java are primarily used to retrieve the value of a data member.
Constructor Overloading In Java EASY
In this article, we'll be learning about Constructor Overloading and its need in OOPs.
Method Overloading and Method Overriding EASY
Method overloading is a technique where multiple methods in a class have the same name but different parameters.Method overriding is another important concept in Java that allows a subclass to provide a specific implementation of a method that is already provided by one of its parent classes.
Method Overloading in Java MEDIUM
Method Overloading in Java allows multiple methods with the same name but different parameters, improving code readability and reusability. Learn with examples and code.
Private Constructors and Singleton Classes in Java EASY
In this blog, you will learn about the Private Constructors and Singleton classes in Java. We will discuss how they are implemented and used in a Java Program.
Java Destructor EASY
A destructor in java is a method invoked during an object's destruction, primarily to release allocated memory and manage resources such as closing files, database connections, and network resources.
Four Pillars of OOPS in Java EASY
Objects Oriented Programming is a programming style based on the idea of objects and classes to represent the Data. JAVA is based on object-oriented programming.
Polymorphism in Java EASY
In this article, we'll explain what polymorphism is, the different types of polymorphism with examples, and the advantages and disadvantages of using it.
Aggregation in Java EASY
This article shall discuss the meaning of aggregation in Java with appropriate examples. Understand when to use Java Aggregation with FAQs.
Inheritance In Java EASY
This blog discusses in detail about Inheritance in Java giving a brief introduction about various types of Inheritance available in Java.
Nested Interface in Java EASY
In this article, we will discuss the syntax of nested interfaces, look at examples of how they are used, & learn about their benefits.
Single Inheritance in Java EASY
Single Inheritance in Java simplifies class hierarchies by allowing a subclass to inherit properties and behaviors from a single superclass.
Difference Between Inheritance and Polymorphism MEDIUM
Inheritance is a mechanism in Object-Oriented Programming where an object acquires all the properties of the parent object and Polymorphism means having many forms.
Author Nitika
0 upvotes
Disadvantages of Inheritance in Java EASY
In this article, we will discuss the concept of inheritance, with examples to understand its use and look into the disadvantages of using inheritance in Java.
Multilevel Inheritance in Java MEDIUM
In this article, we will learn multilevel inheritance in Java with examples: superclass, subclass, and extending classes for robust object-oriented programming.
Why is Multiple Inheritance not supported in Java? EASY
In this article, we will discuss the reasons behind this design decision and discuss alternative approaches to achieve similar functionality in Java.
Multiple Inheritance in Java EASY
Multiple Inheritance is a powerful object-oriented programming concept where a class can inherit attributes and behaviours from more than one superclass.
Author Akash
2 upvotes
Abstraction In Java EASY
In this blog, we are going to ace an essential concept of java that is an abstraction in java. This is an important concept in object-oriented programming.
Characteristics of Object Oriented Programming EASY
Top Characteristics of OOPS 1. Classes 2. Objects 3. Encapsulation 4. Abstraction 5. Inheritance 6. Polymorphism
Types of Interface in Java EASY
In this article, we will discuss the concept of interfaces in Java, such as how to declare them, their properties, and the different types of interfaces.
Difference between Inheritance in C++ and Java
The article will cover the differences between the inheritance in c++ and Java.
Hierarchical Inheritance in Java MEDIUM
Hierarchical inheritance is a type of inheritance in java where multiple derived classes inherit the properties of a parent class. It allows all the child classes to inherit methods and fields from their parent class.
Compile Time Polymorphism in Java EASY
Compile-time polymorphism in Java occurs through method overloading or operator overloading, where the method to be executed is determined at compile time.
Compile Time Polymorphism in Java EASY
Understand what is compile time polymorphism and how it facilitates method overloading and type checking in programming.
Super Keyword in Java EASY
In Java, the super keyword is used in object-oriented programming to refer to the superclass (or parent class) of a current object. In this article we will discuss common uses of Super keyword in java
Encapsulation in Java EASY
This blog will discuss encapsulation in java.
Difference between Abstraction and Encapsulation EASY
 In this blog, we will see the difference between Abstraction and Encapsulation with examples along with it's codes. Understand abstraction vs encapsulation with examples and FAQs.
Difference Between Abstraction and Data Hiding in Java EASY
Abstraction simplifies complexity by showing essential details; data hiding restricts access to internal data using access modifiers for security. In this blog, we will see the Difference Between Abstraction and Data Hiding in Java with examples and its codes.
Interfaces
In this blog, we will be discussing Interfaces in Java
Callable Interface in Java EASY
The Callable interface in Java lets you run a class instance as a thread by implementing it. It's found in the java.util.concurrent package.
Marker Interface in Java MEDIUM
A marker interface in Java is an empty interface with no methods or fields. It serves as a tagging mechanism to convey metadata or special behaviour to the JVM or frameworks.
Difference between Comparable and Comparator MEDIUM
This blog covers the concept of Comparable and Comparator and the difference between Comparable and Comparator.
Garbage collector
 In this blog, we will be discussing Garbage Collector.
StringJoiner Class in Java EASY
This article will discuss StringJoiner Class and its applications.
Can outer java classes access inner class private members EASY
Learn how to access private members of inner Java classes from outer classes. Explore access modifiers & workarounds for efficient Java programming.

List

List is an ordered collection of objects in which duplicate values can be stored. We can also store the null elements in the list. It contains the index-based methods to insert, update, delete and search the elements. Since a list preserves the insertion order, it allows positional access and insertion of elements. Let’s learn more about list.
ArrayList in Java EASY
This blog discusses the methods and implementation of ArrayLists in Java.
Convert list to array in Java EASY
In this article, we will get to know how to convert a list to an array in java, and its programming with examples.
Author Tisha
0 upvotes
Vector Class in Java EASY
This blog discusses the methods and implementation of the Vector class in Java.
How to Add Date in Arraylist Java EASY
This article will discuss How to Add Date in Arraylist Java using different methods and understand those methods with the help of some examples.
Java ArrayList subList() Method EASY
In this article, we'll discuss how to use the subList() method in Java to create sublists from existing lists. We'll cover the syntax, parameters, return value, exceptions and examples to understand this in detail.
Difference Between ArrayList and Vector in Java EASY
ArrayList and Vector are both collections in Java that can dynamically resize themselves to accommodate more elements as needed.
Difference Between List and ArrayList in Java EASY
This article covers concepts about List and ArrayList interfaces in Java along with some key differences between them and some frequently asked questions.
Abstract List EASY
This blog will cover the topic of the abstract list.
Abstract Sequential List EASY
This blog will cover the concept of the abstract sequential lists along with an example and its various methods.
CopyOnWriteArrayList
This blog discusses the methods and implementation of the CopyOnWriteArrayList class in Java.
Custom ArrayList EASY
This blog will discuss what custom ArrayList is and how to implement it in Java programming language, with example.
ListIterator Method in Java MEDIUM
Java List Iterator is an Interface to iterate over a List in both directions, allowing element modification and index-based operations.

Queue

Queue is an interface available in java.util package and extended collection interface are used to hold the elements about to be processed in FIFO(First In First Out) order. Just like List, Java Queue is a collection of ordered elements but it performs insert and remove operations differently.
Abstract Queue EASY
This article discusses Abstract Queue.
Array Blocking queue EASY
This article discusses the Array Blocking queue.
ConcurrentLinkedQueue Class and its Methods EASY
In this post, With the assistance of examples, we will learn about the ConcurrentLinkedQueue class and its methods.
Linked Blocking Queue EASY
In this article, we will cover the topic of Linked Blocking Queue and its syntax and example.
Blockingqueue in Java EASY
In this article, we'll discuss the hierarchy of BlockingQueue, its declaration, implementing classes, syntax for creating objects, types, basic operations, & methods.
Linked Transfer Queue EASY
This article will discuss the Linked Transfer Queue and its syntax and implementation.
What is a Circular Queue EASY
In this article, we'll learn everything about circular queues, their operations, and applications and we will learn how they optimize various computer science processes.
Priority Blocking Queue
This article will learn about the Priority Blocking Queue and its implementation and example.
Deque
In this post, we will learn about deque(double-ended queue) in java with its examples.
Introduction to Deque its applications MEDIUM
This article demonstrates the introduction to deque and its applications.

Maps

Map contains values on the basis of key, i.e. key and value pair. Each key and value pair is known as an entry. A Map contains unique keys. A Map is useful if you have to search, update or delete elements on the basis of a key. Maps are used when you want to associate a key with a value and Lists are an ordered collection.
What is a Multimap in Java? EASY
In Java, a Multimap is a data structure that maps keys to multiple values, allowing multiple values per key, commonly implemented using libraries like Google Guava.
Author Manshi
0 upvotes
EnumMap
This blog will cover the EnumMap class and its various methods in Java.
HashSet EASY
This article deeply discussed the HashSet and various methods, features, and performance of a HashSet.
HashSet
In this blog, we will discuss HashSet.
Introduction to Hash Map
Today, we will learn about Hash Map in java
Difference between HashMap and HashSet MEDIUM
In this article we discussed about Difference between HashMap and HashSet in complete detail.
HashMap entrySet() Method in Java EASY
The Java HashMap.entrySet() method is used to convert the elements within a HashMap into a Set.
WeakHashMap
In this blog, we will discuss WeakHashMap.
LinkedHashMap in Java EASY
A LinkedHashMap in Java is a HashMap that maintains the insertion order or access order of elements, combining hashing with a linked list.
IdentityHashMap in Java
Learn and explore the features, functions and implementation of the IdentityHashMap class.
ConcurrentHashMap in Java
ConcurrentHashMap in Java is a thread-safe and high-performance variant of HashMap designed for concurrent access. Learn and explore the features, functions and implementation of the ConcurrentHashMap class.
Java.util.Dictionary Class in Java EASY
The java.util.Dictionary class in Java is an abstract class that represents a key-value data structure. The Dictionary class is somewhat outdated and not widely used in modern Java programming.
SortedMap
Today, we will learn about SortedMap in java
TreeMap in Java EASY
TreeMap in Java is a Map implementation that stores key-value pairs in a sorted order based on the keys. It uses a Red-Black tree for storage, ensuring O(log n) time for operations like add, remove, and lookup.
flatMap() Method in Java EASY
In this article, we will get to know about Java flatMap(), how does it work and its examples.
Author Rashi
0 upvotes
System.getenv() Method in Java EASY
This blog will cover a detailed explanation of the Java system getenv function. We will also see examples of how the genetv function works.

Wrapper Class

Wrapper classes in Java are used to convert primitive types (int, char, float, etc.) into corresponding objects.
Character Class in Java EASY
In this blog, you will learn about the Character class in Java, its field, and its methods.
Interface in Java MEDIUM
An interface in Java is nothing but a class blueprint, and it can have static, constant, and abstract methods.
Byte Class in Java
 In this blog, you will learn about the Byte class in Java, its field, and its methods.
Java Short Class
This blog mainly covers the Java Short Class, its declaration, different methods and fields. Every topic will be clear to you at the end of this blog.
Java Integer Class
This blog mainly covers the Java Integer Class, its declaration, different methods and fields.
Java Long Class
This blog post covers all the fundamentals of the java Long class and its various fields, methods, and constructors.
Java Float Class EASY
The Float class in Java is a wrapper class for the primitive data type float. Java float class provides methods to handle special cases like NaN and infinity.
Java Double Class
In this post, we will learn about the Java Double class and the different types of methods and fields available in it.
Boolean Class in Java EASY
The Boolean class in Java wraps the primitive boolean type, providing methods like parseBoolean(), toString(), and constants TRUE & FALSE.
Autoboxing and Unboxing EASY
In this blog, we will discuss a new feature of Java SE 5, named as Autoboxing and Unboxing in Java.
Type Conversion in Java with Examples EASY
Learn how to implement type conversion in Java with best practices, examples, and tips for ensuring robust communication in your Java applications.
Wrapper class in Java EASY
Learn about Wrapper Class in Java, Java Wrapper Classes, and how they convert primitives to objects with autoboxing and unboxing for efficient programming

Exception Handling

The mechanism of handling unexpected errors in a java program is called exception handling. It is a powerful mechanism to handle runtime errors, ClassNotFoundException, FileNotFoundException, IOException, etc. so that the normal execution flow of the program can be maintained.
Introduction to Exception Handling
This blog will cover the Introduction to Exception Handling in Java.
Types of Error in Java EASY
In this article, we will learn different types of errors in Java with proper examples. We will also discuss how they can be detected, fixed as well as avoided.
ClassNotFoundException in Java EASY
This blog will discuss ClassNotFoundException in Java along with Java classpath, why it occurs, examples, and some measures to fix ClassNotFoundException.
Throw in Java
In Java, throw is used to explicitly throw an exception, typically within a method, to signal an error or unexpected condition.
Throw keyword
In this blog, we will be covering the Throw keyword.
Exception Hierarchy in Java MEDIUM
In Java, exceptions are organized in a hierarchy with Throwable at the top. It splits into Error (critical issues) and Exception. Exception includes checked and unchecked exceptions.
Multiple Catch Block in Java EASY
This article will explore the concept of multiple catch blocks in Java, including their syntax, examples, and best practices.
What is Java Lang ClassCastException MEDIUM
In this article, we will learn Java Lang ClassCastException, its causes, and how to handle it effectively to prevent runtime errors in Java applications.
Try, catch, throw and throws in Java
In this blog, we will cover exception handling methods like try, catch, throw, and throws in java with examples.
Flow control in Try-Catch and Finally Blocks in Java
In this article, we have discussed flow control in try-catch and finally blocks and also discussed example programs containing their implementation in Java.
Throws keyword
In this blog, we will be discussing the throws keyword.
Exception Propagation in Java EASY
In this article, we will discuss exception propagation in Java in detail, like syntax, rules, and examples.
Arithmetic Exception in Java EASY
In this article, we'll discuss Arithmetic Exceptions in detail, their definition, structure, constructors, occurrence, & handling techniques.
Java Try catch block
Java try-catch block: Learn the syntax and workings of try and catch blocks with examples. Explore how Java handles exceptions internally in a try-catch block.
Built in Exceptions in Java EASY
In this article, we'll talk about Java's built-in exceptions, user-defined exceptions, & the difference between checked & unchecked exceptions. You'll learn how to handle exceptions effectively in your Java programs.
Throwable Class in Java MEDIUM
In this article, we will talk about the Throwable class, its constructors, methods, and how to use it in Java.
Java lang ExceptionInInitializerError EASY
Learn about Java lang ExceptionInInitializerError with constructors, methods, examples, causes, resolve, handle, and recover in brief.
The Finally Block in Java
Learn about Exceptions and how they can be resolved. Focus mainly on the finally block in exception handling.
Final vs Finally vs Finalize MEDIUM
In this article, we will be learning about the key differences between final, finally, and finalize keywords in java.
Null Pointer Exception in Java EASY
A Null Pointer Exception in Java occurs when you try to access or modify a member of an object or call a method on it, but the object reference is null, i.e., uninitialised.
User-defined Custom Exception EASY
This blog will cover how we create User-defined Custom Exception
Exception Handling with Method Overriding in Java
Learn about Method Overriding and how to handle exceptions that occur in it.
How to solve exception in thread main java.lang.nullpointerexception? MEDIUM
In this article, we will see the most occurred java exception i.e. Exception in thread main java.lang.NullPointerException.
Decoding throw and throws keywords in Exception Handling EASY
This blog summarises the use of the Decoding throw and throws keywords in Exception Handling, along with a quick overview of chained exceptions.
InputMisMatchException in Java MEDIUM
The input mismatch exception is thrown when the input given by the user does not match the expected input type.
Java Exception Handling HARD
Java Exception Handling manages runtime errors using try, catch, finally, and throw, ensuring smooth program execution by handling unexpected events effectively.
IOException in Java MEDIUM
IOException in Java is an exception that occurs during input/output operations, such as reading or writing files or streams.
When do Exceptions arise in Java Code Sequence? MEDIUM
In this blog, we will discuss when exceptions in Java arise in the code sequence, how we handle exceptions, and different types of exceptions in Java.
Author Vikash
0 upvotes

Java I/O

In Java, streams are the sequence of data that are read from the source and written to the destination.An input stream is used to read data from the source and an output stream is used to write data to the destination. The java.io package contains all the classes required for input and output operations.
Introduction to Java I/O Streams EASY
Explore Java I/O operations with examples, understand Java I/O Streams, their significance, and types, including Standard I/O Streams. A complete guide to I/O streams in Java.
Reader Class in Java
In this blog, you will learn about the Reader class in Java. We will discuss the different methods supported by the Reader class.
Writer Class in Java
In this article, we have extensively discussed the Writer class in Java and will see a sample program having the implementation of the Writer class.
File Input/Output EASY
In this blog, we will discuss file input/output
nextLine() in Java EASY
nextLine() in Java reads an entire line of input (including spaces) until a line break, and returns it as a String. It's part of the Scanner class.
Author Komal
0 upvotes
Java Read File EASY
In this article, we'll learn different approaches to reading files in Java, which includes using java.nio.file. Files, java.io.BufferedReader, and Scanner classes.
File Input Stream class
This blog will cover the file input stream class, package, data, methods.
The FileOutputStream Class
This blog will discuss the constructors and methods of the FileOuputStream class in Java.
BufferedInputStream and BufferedOutputStream
This blog discusses the BufferedInputStream and BufferedOutputStream classes in Java
Java Thread Dump Analyser EASY
In this blog, we will learn about Java Thread Dump Analyser. We will start with the introduction and later will cover how to generate java dump. In the end, we will discuss common patterns you can see in java thread dump.
FilterInput/OutputStream
 In this blog, we will cover FilterInput/OutputStream
Sequence Input Stream
In this blog, we will discuss SequenceInputStream
BufferedReader Vs Scanner Class In Java EASY
Scanner parses primitive types and strings, useful for formatted input, while BufferedReader reads text efficiently from a character stream, ideal for large inputs,
Covariant Return Type in Java MEDIUM
Covariant return types in java allow an overridden method in a subclass to return a subtype of the return type declared in the parent class method. This enhances type safety and flexibility, enabling methods to return more specific types in subclass implementations without violating overriding rules.

Multithreading in Java

Multithreading is a programming concept in which the application can create a small unit of tasks to execute in parallel. If you are working on a computer, it runs multiple applications and allocates processing power to them. If the programming language supports creating multiple threads and passes them to the operating system to run in parallel, it’s called multithreading.
Multithreading in Java MEDIUM
Multithreading extends the concept of multitasking, where operations within an application are divided into individual threads.
Life Cycle Of A Thread EASY
In this blog, we shall cover the life cycle of a thread.
Creating a Thread in Java MEDIUM
Creating a thread in Java involves implementing the Runnable interface or extending the Thread class and overriding the run method to define thread behavior.
Thread scheduler
In this article, we will discuss the Thread scheduler, thread, scheduling, and process.
Multiprocessing in Java EASY
In this article, we will discuss multiprocessing, its advantages and disadvantages, and how to implement it in Java with examples.
Thread Pool in Java EASY
In this article, we will learn what Thread Pool is, how it works, & its benefits in Java programming. We will also look at some code examples to understand its implementation better.
Thread.sleep() in Java EASY
In Java, Thread.sleep() is a method used to pause the execution of the current thread for a specified period. It is typically used to introduce a delay in a program.
Difference between Multithreading and Multitasking in Java EASY
In this article, we will discuss the differences between multitasking & multithreading in Java, their advantages, disadvantages, & key distinctions.
Start() method in thread
This article shall cover the Java Thread start() method and its syntax and implementation.
Java ThreadPoolExecutor MEDIUM
ThreadPoolExecutor simplifies the handling of threads by reusing a fixed number of threads and managing tasks efficiently. This results in better performance and resource utilization.
Types of Threads in Java MEDIUM
In this article, we will talk about the different types of threads available in Java & their characteristics. We will also discuss the benefits of multithreading with proper code examples.
Shutdown Hook
The article covers the implementation and core principle of shutdown hooks which are available in Operating systems
Difference between run() and start() method
The article covers the difference between the run and start() methods
Perform single task by multiple threads
This blog will cover how to perform a single task using multiple threads.

Java Networking

Java is a premier language for network programming. Networking is a concept of connecting two or more computing devices together so that we can share resources.
Introduction to Java Networking EASY
In this blog, we will introduce you to the concept of networking in Java.
Socket Programming in Java
In this post, we will learn about Socket programming in Java with its classes, methods, and examples.
Java URL
In this post, we will learn about the java.net.URL class in Java with its constructors, methods, and examples.
Java HttpURL Connection
In this post, we will learn about Java.net.HttpURLConnection class in Java with its constructors, methods, and examples.
Tesseract OCR with Java MEDIUM
In this blog, we will learn about Tesseract OCR with Java. We will understand the meaning of tesseract OCr and later discuss the pitfalls and solutions of using this tool.
DatagramPacket and DatagaramSocket in Java
This blog discusses the DatagramPacket and DatagramPacket classes of Java in detail. It lists the constructors and methods of each class with examples.
Java InetAddress Class EASY
This blog explains the details of InetAddress Class in Java along with the details of IP addresses, their addressing modes, methods of InetAddress Class, and examples.
Server Socket Class in Java
In this article, we have extensively discussed the Server Socket Class in Java and understood its syntax and a sample code having the implementation of it.
URL class and method in Java
In this blog, you will learn about the URL class of Java. We will discuss how an object of a URL class is created and used in a Java Program.
Difference between Connection-Oriented and Connectionless Services
In this blog, we will develop an understanding of data communication services and discuss the differences between connection-oriented data communication services and connectionless services.

Java Miscellaneous

In this blog,we’ll learn different concepts like Java RMI,Java Generics,Object cloning,JavaFX ,Java Lambda expression,Java memory management and also learn about ‘IS A’ relationship and ‘HAS A’ relationship.So what we’re waiting for let’s get started.
Reflection API in Java
This blog mainly covers the Reflection API in Java. You will get an insight into the Reflection API, its different uses and their implementation in Java.
Log4j MEDIUM
This blog will discuss the Log4j library, its need, vulnerability, how this vulnerability works, ways to mitigate it, and the pros and cons of logging.
Remote Method Invocation In Java
This article will introduce you to the Remote Method Invocation API that you can use to build distributed applications in Java.
Java Classpath EASY
Classes in Java programs are not loaded by the JVM all at once; rather, they are slowly found and loaded through dynamic loading.
Running Java RMI Application
In this article, we will learn the implementation of a Remote Method Invocation(RMI) application in Java with the help of an example.
Difference between Compiler and Interpreter in Java EASY
This article will discuss compilers and interpreters in java along with their advantages, disadvantages and particular use cases and key differences.
What is Cucumber? MEDIUM
In this blog, we will learn about What is Cucumber. We will understand its core concepts, its usage, and much more for better understanding.
Custom Exception in Java EASY
A custom exception in Java is a user-defined exception class that extends Exception or RuntimeException. Learn Java custom exception with examples and benefits.
What is J2ee? MEDIUM
In this blog, we will learn about What is J2ee. We will learn about its characteristics, features, and much more for better understanding.
Camel Case in Java EASY
Camel Case in Java is a naming convention where the first word is lowercase, and subsequent words start with an uppercase letter, e.g., myVariableName.
Semaphores in Java EASY
In this article, we will learn what semaphores are, the different types of semaphores, how they work, & how to implement them in Java.
Executor Framework in Java EASY
In this blog, we will learn about the executor framework in Java. We will discuss types of executor frameworks and will later implement a simple executor framework in Java.
Deserialization in java MEDIUM
In this article, we will discuss serialization & deserialization in Java in detail, like their definitions, examples, advantages, & how they work, etc.
JPA Java EASY
In this article, we will discuss the key features of JPA, including different versions, how it works with Hibernate, the benefits of using an Object-Relational Mapping (ORM) tool, setting up JPA in your Java project, & working with different databases, including NoSQL.
Serializable Interface in Java EASY
In this article, we'll discuss the basics of the Serializable interface, like its declaration & usage, and a practical code example to help you understand how it works.
Generics in Java MEDIUM
In this article we will be discussing the topic of generics in java, its usage and implementation.
Java Annotations EASY
This article explains what Java annotations are, their significance, and how you can use them in your coding projects. We will look at different types of annotations and see examples of how they are applied in real Java programs.
Object Cloning in Java EASY
In this blog, we will discuss the concept of object cloning in Java with examples. We will also discuss the application of object cloning.
Lambda Expressions in Java
In this blog, we’ll learn about Lambda expressions in Java their syntax and understand them better with an example.
Prepared Statement Java EASY
A prepared statement is an object used in Java database connectivity (JDBC) that represents a precompiled SQL statement.
Memory Management in Java EASY
This article covers memory management in java with its meaning and principles. Explore the JVM memory structure and garbage collection in java memory management.
Builder Design Pattern MEDIUM
Builder Design Pattern simplifies object creation by constructing complex objects step-by-step. It separates object construction from representation, enabling flexibility and reuse of code.
Is-A Relationship in Java EASY
This blog will discuss what is-a relationship is and how to implement it in Java programming language, with example.
Java Servlet API EASY
In this article, we'll learn about the key components of the Java Servlet API & see how to use them to build robust web applications.
Has-A Relationship in Java EASY
This blog will discuss what has-a relationship is and how to implement it in Java programming language, with example.
What is truncation in Java? MEDIUM
Truncation in Java is discarding the fractional part of a number during type conversion. In this blog, we’ll understand truncation in Java in detail.
Delegation Event Model in Java MEDIUM
The Delegation Event Model in Java is a design pattern where an event source object delegates event handling to a separate listener object, enhancing flexibility.
Decorator Design Pattern MEDIUM
The Decorator design pattern is generally used to change the functionality of an object at runtime.
Factory Design Pattern in Java EASY
Learn about the Factory Design Pattern in Java, with examples, implementations, key components, and the pros and cons of the Factory Method Design Pattern.
Upcasting and Downcasting in Java MEDIUM
Upcasting is the process of converting a subclass reference to a superclass reference, while downcasting is the opposite. Read on to understand the difference between the two and when to use each one.
Sieve Of Eratosthenes In Java EASY
Sieve of Eratosthenes is a simple technique created by the ancient Greek mathematician Eratosthenes in the 2nd century BC.
Difference Between this and super Keyword in Java EASY
This blog will cover a detailed explanation of this and super keywords in Java. We will further study the difference between the two.
Enumeration in Java EASY
This article demonstrates enumeration in Java.
Difference Between Iterator and Enumeration EASY
In this article, we will be discussing the concept of Iterator and Enumeration. Also, will discuss some differences between Iterator and Enumeration.
What’s the Difference Between Iterator and ListIterator? EASY
Iterator is a general interface for traversing collections whereas listIterator is specific to lists and allows bidirectional iteration.
Association, Composition and Aggregation in Java MEDIUM
Association defines the diversity between the objects. Aggregation refers to the “has-a” relationship and is a particular case of Association. Composition is a restricted type of Aggregation.
How to fix NoSuchElementException in Java? EASY
This article discusses how to fix java util nosuchelementexception in java. It also contains an explanation of other exceptions in java.
Author Alisha
0 upvotes
Type Conversion And Type Casting In Java EASY
Type conversion automatically changes the data type, while type casting requires manual conversion by the programmer.
Happy Number in Java MEDIUM
In this article, we will learn about Happy numbers. We will also write a Java program for the same.
Stack Memory and Heap Memory in Java EASY
In this article, we will discuss about stack and heap memory in Java. We will also see differences between them.
Java Garbage Collection: What is it and how does it work? MEDIUM
Java Garbage Collection is an automatic memory management process that removes unreferenced objects to free memory and boost Java application performance

File Handling

File handling is an important part of any application. File handling in Java is defined as reading and writing data to a file. The particular file class from the package called java.io allows us to handle and work with different formats of files. In Java, with the help of File Class, we can work with files.
File Class in Java
In this article, we will learn about the File class in Java.
Creation of Files in Java
In this article, we will learn how to create a file in Java.
File Handling in Java EASY
Learn file handling in Java using streams and Java class file methods. Gain insights into file operations and explore diverse approaches with syntax, code, and explanations.
How to write on files in java EASY
In this blog, we will see how to write on files in java along with different ways like writeString(), FileWriter Class, Buffered Class, FileOutputStream Class, and its codes.
File Permissions
In this blog, we will learn how to fetch the permission level of a particular file and how to manipulate it.
File Reader EASY
This article will cover the different ways to read a class in the Java language.
FileWriter EASY
This article will deeply learn about FileWriter in java and the types of constructors for FileWriter.
File Descriptor Class in Java
This blog includes file descriptor class of I/O interface in Java, Constructors, and methods of file descriptor class.
Random Access File class
In this blog, we will learn about the Random Access File class in java, along with different class methods under it.

Problems in Java

In this blog series, we’ll practice different problems based on concepts that we learn so far. The best way we learn anything is by practicing questions. So what you are waiting for let’s get started. Hope, these problems help you to improve your Java programming coding skills.
Java Hello World Program EASY
In this blog, we will learn how to write a simple hello world program in Java.
Prime Number Program in Java EASY
In this article, we will discuss what prime numbers are and different methods through which we can find if a number is prime in Java.
Menu Driven Program in Java EASY
A Menu-Driven Program in Java allows users to choose options from a menu. Based on input, it performs corresponding actions using conditional statements. This article discusses Menu Driven programs and their implementation in Java in detail
Palindrome Program in Java
This blog mainly focuses on the problem to find out whether a given number is palindrome or not. You will learn to solve the problem with different approaches and implementation in Java with proper program flow diagrams and complexity analysis.
Factorial of a Number in Java EASY
This blog mainly covers how to find out the factorial of a number in Java. You will learn different approaches to find out the factorial of a number in Java with proper explanation and program flow diagram.
Java Program to Check Armstrong Number
Armstrong numbers are positive n-digit numbers that are equal to the sum of their digits’ nth powers.
Printing Pattern in Java EASY
Java Pattern Programs 1. Simple Pyramid Pattern 2. Left Triangle Star Pattern 3. Right Triangle Star Pattern 4. Downward Triangle Star Pattern
Java Program to Check if a String is Palindrome EASY
A string palindrome in Java checks if a string reads the same forward and backward. It can be done by reversing the string and comparing it to the original.
Reverse a String in Java
This blog explains about the different methods used to reverse a string.
Swapping of Two Numbers in Java EASY
This article covers the different techniques for swapping two numbers in Java. Also check out the frequently asked questions.
Int to String Conversion in Java MEDIUM
This article will discuss all the possible ways to convert an int Data Type to the String Data type in Java. We will further look at examples to understand the implementation of int to String conversion in Java.
Java Program to Check if Two Strings are Anagrams EASY
This article covers an anagram program in Java with Java arrays and Java strings. Understand check whether two strings are anagrams of each other in Java.
Number of Characters in a String
In this blog, we have discussed the program to count the total number of characters in a string using the java programming language.
Duplicate Characters in a String EASY
This blog mainly focuses on the problem of finding out the duplicate characters in a string in Java. You will learn to solve the problem with different approaches and implementation in Java with proper program flow diagrams and complexity analysis.
Program to Print the Elements of an Array
In this article, we'll be discussing one of the very basic concepts of Java arrays, i.e. Printing elements in Java.
Largest Element in an Array
In this article, We will discuss the Java Programme to find the Largest Element in an array.
Smallest Element in an Array
In this article, We will discuss the Java Programme to find the Smallest Element in an array.
Program to find Sum of Natural Numbers
In this article, we will discuss the java programme to find the Sum of Natural Numbers.
Java Program to Display Even Numbers from 1 to 100 EASY
Learn how to write a Java program that displays even numbers from 1 to 100. Simple code examples and explanations for beginners.
Java Program to Find the Largest of Three Numbers EASY
In this article, we will learn various ways to find the largest of three numbers by writing a program in Java.
How to Sort List in Java
In this article, we will learn how to sort a list in Java. Explore Java list sort with examples of sorting different types of lists using the Collections. sort() method.
Print Duplicate Elements in Array EASY
In Java, an array is index-based. The array's first element is placed at the 0th index, the second element at the 1st index, etc.
Program to find all Punctuations in a String
In this article, We will discuss the Java Programme to find the total number of punctuations in a string.
Java program to find transpose of a matrix EASY
Transposing a matrix in Java involves swapping the rows with columns. Here's a simple Java program to transpose a matrix
Tribonacci Series in Java EASY
Tribonacci series in java : Learn about the tribonacci series, Tribonacci Series in Java Program and Nth Term of the Tribonacci Series with the help of examples.
Hybrid Inheritance in Java EASY
Inheritance is an important topic from an interview perspective. This blog discusses hybrid inheritance in Java in detail.
Duck Number in Java MEDIUM
Duck number in java is an integer that has at least one "0" in it but not in the beginning. In this blog, we will learn more about duck number in java.
Nuts and Bolts Problem | Set 1
This article discusses the nuts and bolts problem using various techniques.
Author Alisha
0 upvotes
Bubble Sort in Java EASY
Exception handling in C++ is a mechanism to handle runtime errors using try, catch, and throw keywords.
Author Alisha
0 upvotes
What is Linear Search? EASY
In this blog, we will learn about Linear search with an example. Also, linear search algorithm, code implementation, advantages and disadvantages.

Set

Set is a collection that cannot contain duplicate elements. It models the mathematical set abstraction. Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited. Let’s learn more about the java set.
AbstractSet
This article deeply explains AbstractSet in Java and various methods with examples.
EnumSet EASY
In this article, we will learn about the Java EnumSet class and its methods with the help of examples.
TreeSet EASY
This article deeply discussed the TreeSet and its various methods, and constructors of a TreeSet.
SortedSet in Java EASY
The SortedSet interface in Java extends Set and maintains elements in ascending order. It provides methods for range views, comparisons, and subset operations. This article deeply discussed SortedSet, how to create objects, and its various methods.
LinkedHashSet in Java EASY
A LinkedHashSet in Java extends HashSet and implements the Set interface. It maintains a linked list of elements, preserving the insertion order when iterating, unlike HashSet, which does not guarantee order.
NavigableSet
In this blog, we will learn about NavigableSet and its methods.
ConcurrentSkipListSet
In this blog, we will be discussing ConcurrentSkipListSet, which is a Java Collections Framework. We will discuss constructors and various methods of ConcurrentSkipListSet.
Author Anjali
0 upvotes
CopyOnWriteArraySet
In this blog, we will be discussing CopyOnWriteArraySet, which is a Java Collections Framework. We will discuss constructors, methods, and iterations of CopyOnWriteArraySet.
Author Anjali
0 upvotes

Java Synchronization

Synchronization in java is the capability to control the access of multiple threads to any shared resource. Java Synchronization is a better option where we want to allow only one thread to access the shared resource. In the Multithreading concept, multiple threads try to access the shared resources at a time to produce inconsistent results. Synchronization is necessary for reliable communication between threads.
Synchronization in Java
Synchronization in Java is a technique used to control the access of multiple threads to shared resources. It helps prevent thread interference and ensures data consistency.
Difference between Wait and Sleep in Java MEDIUM
Learn the essential distinctions between the wait() and sleep() methods with our in-depth tutorial on thread synchronization in Java!
Synchronization Block in Java
In this blog, we will discuss the crucial concept of Synchronization in Java which avoids thread-interference.
Static Synchronisation in Java
In this article, we will learn static synchronisation in Java.
Deadlock Prevention and Avoidance EASY
In this blog, We will learn about Deadlock prevention and avoidance in Java.
Json Pretty EASY
In this article, we will learn about JSON pretty printing in Python. We will discuss what JSON is, how to use the json.dumps() method to pretty print JSON strings, how to write pretty printed JSON data to a file, how to read JSON data from a file & pretty print it, & how to use the pprint module to pretty print JSON.
Interrupting thread EASY
In this article, we will learn about Interrupting Threads in Java. We will see some examples to understand better how the interrupt method works in Java.
Reentrant Monitor in Java
In this blog, we will learn about reentrant monitors and different methods of it in Java.
Lock frameworks vs. thread synchronization
In this blog, We will learn about the differences between Lock frameworks and thread synchronization.
Atomic Variables in Java EASY
Atomic variables in Java are thread-safe classes (e.g., AtomicInteger) in java.util.concurrent.atomic that support lock-free, atomic operations for concurrency.
Difference between Atomic, Volatile, and Synchronized EASY
In this blog, We will learn about the difference between Atomic, Volatile, and Synchronized.

Java AWT

Java Abstract Window Toolkit (AWT) is an Application Program Interface (API). The components used in Java AWT are platform-dependent. It uses recourses of the operating system which means the view of these components is changed according to the operating system. For creating standalone applications, Java AWT API is used. AWT allows programmers to create a Graphical User Interface (GUI) for a window-based application.
Java AWT Tutorial EASY
Java AWT (Abstract Window Toolkit) is a GUI framework for building window-based applications. It provides lightweight components, event handling, and platform-specific rendering.
Java AWT Button EASY
In this article, we will look at one of the Java AWT components, the AWT Button with the help of examples.
Java AWT Label EASY
In this article, we will look at one of the Java AWT components, the AWT Label, with the help of examples.
AWT TextField EASY
In this article, we will look at one of the Java AWT components, the AWT TextField, with the help of examples
AWT TextArea EASY
 In this article, we shall be discussing the AWT TextArea along with its constructors, methods, and examples.
AWT CheckBox EASY
In this article, we shall be discussing the AWT CheckBox along with its constructors, methods, and examples
AWT Choice EASY
In this article, we shall be covering AWT Choice along with its constructors, methods, and examples.
AWT List EASY
In this article, We will see how we can create a list and what happens when a list item is selected; we will also see a few list methods with examples.
AWT Canvas EASY
In this article, We will see how we can create and what is a Canvas and we will also see canvas constructors and methods with examples.
AWT Scrollbar EASY
In this article, We will see how we can create a scrollbar in java and a few constructors and methods with examples.
AWT Menu
This blog discusses the features of the Java AWT Menu. It also explains the AWT MenuBar and MenuItem along with their constructors and functions.
What is Sax in XML? EASY
This article will discuss about the fundamentals of SAX, its operation, & why it is preferred for certain XML processing tasks.
AWT Panel
This blog will demonstrate the Java AWT panel, its functions, and how to operate it.
Java MouseListener MEDIUM
This article will discuss the Java MouseListener interface and its methods with various examples.
ActionListener in Java MEDIUM
ActionListener in Java is an interface used to handle action events, like button clicks. Implement it and override actionPerformed(ActionEvent e). This article will discuss the Java ActionListener interface in Java, its methods, and examples.
MouseMotionListener EASY
This article will discuss MouseMotionListener. We will look at its methods and some examples of handing MouseMotionListener.
Java KeyListener MEDIUM
This article will discuss Java KeyListener in detail and its methods and also we will see some examples of handling Java KeyListener.
Java Window Listener MEDIUM
Java WindowListener gets informed when the state of a window changes. This article discusses the Java WindowListener interface and its implementation. `
Java Adapter class MEDIUM
The adapter class in Java is the default implementation of listener interfaces in Java. This article talks about the Java Adapter class and its implementation.
Close AWT Window MEDIUM
This article will discuss how to close the AWT Window. We will look at the different approaches to close AWT window in detail and implementation of it.