⇧
Home
Java
MySQL
MongoDB
Blogs
Home
Java Programs
Java Tutorial
Java Overview
Java Introduction
Features of Java
What is JDK, JRE, JVM
Environment Setup
Java Vs C
Java Vs C++
Java Vs C#
Java Vs Python
Java Vs JavaScript
Java Basics
Java Class & Object
Java Data Types
Java Variables
Java Methods
Java Comments
Java Program
Java Access Modifiers
Java Keywords
Java Operators
Operators in Java
Arithmetic Operators
Assignment Operator
Bitwise Operators
Logical Operators
Relational Operators
Ternary Operator
Unary Operators
Java Control Statements
Java if-else
Java Switch
Java for Loop
Java while Loop
Java do-while Loop
Java for-each Loop
Break Statement
Continue Statement
Return Statement
Java Array
Java Array
Single Dimensional Array
Multidimensional Array
Anonymous Array
Jagged Array
Java Constructors
Constructor in Java
Copy Constructor
Constructor Chaining
Private Constructor
Java Exception Handling
Exception Handling
Types of Exception
try-catch Blocks
Nested try Block
Multiple catch Blocks
finally Blocks
try-with-resources
throw Keyword
throws Keyword
throw Vs throws
Custom Exception
Error Vs Exception
Checked Vs Unchecked
final Vs finally Vs finalize
Java Keywords
This Keyword
Super Keyword
Final Keyword
Static Keyword
Strictfp Keyword
Transient Keyword
Native Keyword
Volatile Keyword
Java OOPs Concept
What is OOPs
Java Encapsulation
Java Abstraction
Java Abstract Class
Java Interface
Java Interface
Nested Interface
Marker Interface
Functional Interface
Java Default Methods
Java Polymorphism
Java Polymorphism
Method Overloading
Method Overriding
Method Overloading Vs Method Overriding
Java Inheritance
Inheritance
(IS-A)
Aggregation
(HAS-A)
Java Multithreading
Java Multithreading
Java Thread Life Cycle
Java Create Thread
Java Thread Priority
Java Daemon Thread
Java Thread Pool
Java Synchronization
Java Nested Classes
Nested Class in Java
Member Inner Class
Local Inner Class
Static Nested Class
Anonymous Inner Class
Java Miscellaneous
Garbage Collection
Enum (Enumerations)
instanceof Operator
Java Serialization
Java Generic
Java Package
Java Varargs
Java Object Cloning
Java Static Import
Java String Classes
Java String
Java StringBuffer
Java StringBuilder
Java StringTokenizer
Java StringJoiner
Collection Framework
Collection Framework
Collection Interface
Java List
Java List Interface
Java ArrayList
Java LinkedList
Java Vector
Java Set
Java Set Interface
Java HashSet
Java LinkedHashSet
Java TreeSet
Java SortedSet
Java NavigableSet
Java Map
Java Map Interface
Java HashMap
Java LinkedHashMap
Java Hashtable
Java WeakHashMap
Java IdentityHashMap
Java TreeMap
Java SortedMap
Java NavigableMap
Java Lang Package
Java Object Class
Java Wrapper Classes
Java Math Class
Java Util Package
Java Date Class
Java Calendar Class
Java Arrays Class
Java Scanner Class
Java Optional Class
Java BitSet Class
Java Programs
Java Basic Program
Java Pattern Program
List of Java Programs
1.
Java Program to Check whether a Number is Even or Odd.
2.
Java Program to Check whether Year is a Leap Year.
3.
Java Program to Check whether the Character is Alphabet or not.
4.
Java Program to Check whether the Character is Vowel or Consonant.
5.
Java Program to Check whether the Number is a Prime or Not.
6.
Java Program to Check whether Number is Positive or Negative.
7.
Java Program to Print Table for any Number.
8.
Java Program to Find Factorial of a Number.
9.
Java Program to Print Fibonacci Series.
11.
Java Program to Print Random Number.
10.
Java Program to Check Armstrong Number.
12.
Java Program to Check Peterson Number.
13.
Java Program to Check Automorphic Number.
14.
Java Program to Reverse a Number.
15.
Java Program to Swap two Numbers using Temporary Variable.
16.
Java Program to Swap two Numbers without using Temporary Variable.
17.
Java Program to Print ASCII Value of a character.
18.
Java Program to Find Largest Number among Three Numbers.
19.
Java Program to Find Smallest Number among Three Numbers.
20.
Java Program to Find Square Root of a Number.
21.
Java Program to Find Current Date & Time.
22.
Java Program to Calculate the Sum of n Natural Numbers.
23.
Java Program to Find GCD of two Numbers.
24.
Java Program to Find LCM of two Numbers.
25.
Java Program to Calculate Simple Interest.
26.
Java Program to Calculate Compound Interest.
27.
Java program to Break Integer into Digits
28.
Java Program to Add two Numbers.
29.
Java Program to Add two Binary Numbers
30.
Java Program to Add two Complex Numbers
31.
Java Program to Subtract One Number from Another Number
32.
Java Program to Multiply two Numbers
32.
Java Program to Multiply two Floating-Point Numbers.
34.
Java Program to Find Quotient and Remainder
35.
Java Program to Print First 100 Prime Numbers
36.
Java Program to Print First 100 Even and Odd Numbers
37.
Java Program to Calculate Area of Triangle.
38.
Java Program to Find Average of 5 numbers.
39.
Java Program to Print Alphabets (A to Z and a to z).
40.
Java Program to Make a Simple Calculator for Basic Arithmetic Operators.
Please share Java Basic Program list on social media to help others.