Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Feb 15, 2022

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.
Is Java an Object-Oriented language? EASY
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.
Byte Code in Java EASY
Learn about Bytecode in Java, how it's generated, how it works, and its advantages. Understand the role of Java Bytecode for efficient code execution.
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.
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.
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.
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.
Math.abs() Method in Java EASY
This article will explain how to use Math.abs(), provide examples, and discuss its key features.
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 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.
wait() and notify() in Java EASY
In this article, we will discuss the wait() & notify() methods in Java, and understand their use, variations, & differences.
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.
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.
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.
Concrete Class in Java EASY
In this article, we'll discuss what concrete classes are, their syntax, and how they differ from abstract classes. We'll also look at examples of concrete classes that extend abstract classes or implement interfaces.
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.
Return Statement in Java EASY
Understanding the return statement is crucial for writing effective Java programs.
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.
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.
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.
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.
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 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.
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.
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.
Setting up the environment
In this article, we will explain how to set up Java on different Operating Systems.
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 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.
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.
Java Development Kit(JDK)
This blog will cover all the aspects of JDK. It explains the concepts, features, and uses of JDK in Java application development.
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 this article we will learn what primitive types are, their importance, and how they are utilized in Java programming.
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
In this blog, we will learn about Methods in Java. We will understand its core concepts, its usage, and much more for better understanding.
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
Robustness in Java refers to the language's ability to manage errors and operate smoothly under a variety of conditions.
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.
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.
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.
Difference between JDK, JRE and JVM MEDIUM
In this blog, we will discuss the differences between JDK JRE and JVM.
While Loop in Java EASY
In this article, we'll talk about the syntax of while loops, their parts, how they execute.
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.
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.
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
In this blog, we will learn about Volatile Keyword in Java. We will understand its core concepts, its usage, and much more for better understanding.
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.
Final Class in Java EASY
A final class in Java is a type of class that cannot be inherited by other classes.
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.
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.
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.
Introduction to Keywords in Java
Explore the different keywords in Java and learn how to implement them.
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
In this article, we will find out "What is an Instance Variable?". We will discuss its features, how to access it, and the advantages & disadvantages of Instance Variable in Java.
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
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.
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
BigDecimal is a game-changer for accurate numerical calculations. Java provides BigDecimal, which is a class that provides operations on double numbers.
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 Stream EASY
In this blog, we will learn this Java Stream. We will learn about why it is used, syntax, parameters, and examples.
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.
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 Long to Int in Java EASY
In this article, we will briefly discuss long and int datatype. Then we will go through different ways to convert long to int in Java.
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).
Range of Data Types in Java EASY
In this article, we will talk about the different data types available in Java. We will understand their characteristics, & learn how to use them effectively in our programs.
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
Tokens are the basic building blocks of any code script. These include the keywords, operators, constants or other unique syntactic stuff specific to the language.
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.
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
Java access modifiers control the visibility of classes, methods, and fields. Types of access modifiers : private, default, protected and public. Lets understand them with examples.
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
Explore the difference between checked and unchecked exceptions in Java with meaning and examples in detail.
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
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 representing an object's value.
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
Learn Java Applet life cycle: init(), start(), stop(), and destroy(). Understand how applets function within browsers and their lifecycle stages.
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.