What is Java?

Java is an object-oriented, robust, secured and platform-independent programming language. With the help of Java Programming, we can develop console, window, web, enterprise and mobile applications.

Java language was developed in 1995 by James Gosling who is known as the father of Java. The first version of Java released on 23rd January, 1996.

There are three editions of Java: Java SE (Java Standard Edition), Java EE (Java Enterprise Edition), and Java ME (Java Micro Edition).

Java Hello World Example

File: HelloWorldJava.java

Output:

Compile By:

javac HelloWorldJava.java

Run By:

java HelloWorldJava

Core Java Tutorial Index

Introduction

Java Loops

Java Programs

  • Java Basic Programs
  • Factorial Program in Java
  • Fibonacci Series Program in Java
  • Prime Number Program in Java
  • Palindrome Number Program in Java
  • Armstrong Number Program in Java
  • Anagram Program in Java
  • Pattern Programs in Java
  • Calculator Program in Java
  • Leap Year Program in Java
  • Addition Program in Java
  • Number Pattern Programs in Java
  • Star Pattern Programs in Java
  • Package Program in Java
  • Pyramid Program in Java
  • Sorting Program in Java
  • String Palindrome Program in Java
  • Even Odd Program in Java
  • For Loop Program in Java
  • If Else Program in Java
  • Switch Case Program in Java
  • GCD Program in Java
  • LCM Program in Java
  • Hello Program in Java
  • Matrix Program in Java
  • Menu Driven Program in Java
  • Program to reverse a number in Java
  • Series Program in Java
  • Client Server Program in Java
  • Swapping Program in Java
  • Pig Latin Program in Java
  • Tower of Hanoi Program in Java
  • Multiple Inheritance Program in Java
  • Prime Number Program in Java using Scanner
  • Recursion Program in Java
  • Matrix Multiplication Program in Java
  • Perfect Number Program in Java
  • Classes and Objects in Java Example Programs
  • String Programs in Java
  • Array Programs in Java
  • Constructor Program in Java
  • Inheritance Program in Java
  • Abstract class Program in Java
  • Interface Program in Java
  • Encapsulation Program in Java
  • Polymorphism Program in Java
  • Exception Handling Program in Java
  • Multithreading Program in Java
  • Thread Program in Java
  • Collection Programs in Java
  • ArrayList Program in Java
  • Linked List Program in Java
  • Stack Program in Java
  • Applet Program in Java
  • Swing Program in Java
  • JDBC Program in Java
  • Graphics Programming in Java
  • How to run Java program in command prompt
  • How to run Java program in Eclipse

Java Sorting

  • Sorting Algorithms in Java
  • Merge Sort in Java
  • Quick Sort in Java
  • Bubble Sort in Java
  • Insertion Sort in Java
  • Selection Sort in Java
  • Heap Sort in Java
  • Radix Sort in Java
  • Topological Sort in Java
  • Bucket Sort in Java
  • Counting Sort in Java

Java OOPs Concepts

Java Strings

  • Java Strings
  • Java String Methods
  • StringBuilder in Java
  • StringBuffer in Java
  • Java Regular Expressions
  • StringBuffer vs StringBuilder
  • String vs StringBuffer
  • String vs StringBuilder
  • String Manipulation in Java
  • Java String Concatenation
  • How to Reverse a String in Java
  • String Array in Java
  • Java Sort String
  • How to Compare Two Strings in Java
  • How to Concatenate Two Strings in Java
  • Why String in Immutable in Java
  • java.lang.NumberFormatException for Input String
  • String Pool in Java
  • Java Generate Random String
  • Default Value of String in Java
  • How to take String Input in Java
  • Java String Interview Questions

Java Exceptions

Garbage Collection

Multithreading

Java IO

  • Java IO
  • Java Read File
  • Java Write to File
  • Java FileReader
  • Java BufferedReader
  • Java FileWriter
  • Java BufferedWriter
  • Java InputStreamReader
  • Scanner in Java
  • Java StringReader
  • Java StringWriter
  • Java PrintWriter
  • Java File
  • Java Read File Line By Line
  • Java FileInputStream
  • Java FileOutputStream
  • Java Create File
  • Java Delete File
  • Java Open File
  • Java Read File to String
  • Java Copy File
  • Java Append to File
  • Java Read CSV File
  • Java Read JSON File
  • Jar File in Java
  • Java RandomAccessFile
  • Java Rename File
  • Java Create Directory
  • Java Delete Directory
  • Java FileNotFoundException

Serialization

Networking

AWT

  • Java AWT

Swing

Java Collections

Java Generics

  • Generics in Java

Java Annotations

  • Annotations in Java

Java JDBC

  • Java JDBC Tutorial
  • JDBC Architecture
  • Types of JDBC Drivers
  • JDBC vs ODBC
  • Java Database Connectivity with MySQL
  • Java Database Connectivity with Oracle
  • JDBC Connection in Java
  • Statement in Java
  • PreparedStatement in Java
  • ResultSet in Java
  • ResultSetMetaData in Java
  • DatabaseMetaData in Java
  • CallableStatement in Java
  • Transaction Management in Java
  • Batch Processing in Java

Java Differences

  • Java vs JavaScript
  • Python vs Java
  • Kotlin vs Java
  • Java vs C++
  • C# vs Java
  • Java Float vs Double
  • Scala vs Java
  • Go vs Java
  • Java extends vs implements
  • Node.js vs Java
  • Static vs Non-static in Java
  • C vs Java
  • int vs Integer in Java
  • Java vs JavaScript
  • Java Protected vs Private
  • .Net vs Java
  • Stack vs Heap in Java
  • Java Array vs ArrayList
  • Java SE vs EE
  • Class vs Object in Java
  • Difference between == and equals() in Java
  • Difference between C, C++ and Java

How to

  • How to run Java program
  • How to set path in Java
  • How to check Java version in cmd
  • How to install Java in Windows 10
  • How to run Java program in cmd
  • How to take input in Java
  • How to check Java version
  • How to create Object in Java
  • How to call a method in Java
  • How to set environment variable for Java
  • How to sort an array in Java
  • How to compile Java program
  • How to create immutable class in Java
  • How to iterate HashMap in Java
  • How to return an array in Java
  • How to write Java program
  • How to check Java version in Linux
  • How to create an array in Java
  • How to create a package in Java
  • How to enable Java in chrome
  • How to generate random number in Java
  • How to input String in Java
  • How to print an array in Java
  • How to read excel file in Java
  • How to set JAVA_HOME
  • How to connect database in Java
  • How to create singleton class in Java
  • How to create thread in Java
  • How to declare string array in Java
  • How to find length of String in Java
  • How to print in Java
  • How to install Java on Linux
  • How to read CSV file in Java
  • How to set CLASSPATH in Java
  • How to sort a string in Java
  • How to use scanner in Java
  • How to achieve multiple inheritance in Java
  • How to check Java is installed or not
  • How to find length of array in Java
  • How to iterate List in Java
  • How to read JSON file in Java
  • How to run Java program in Eclipse
  • How to write to a file in Java
  • How to send email in Java
  • How many ways to create object in Java
  • How to call a function in Java
  • How to create a file in Java
  • How to create API in Java
  • How to create array of objects in Java
  • How to create custom exception in Java
  • How to enable Java in Firefox
  • How to import package in Java
  • How to read XML file in Java
  • How to run applet program in Java
  • How to take array input in Java
  • How to achieve abstraction in Java
  • How to become a Java developer
  • How to call static method in Java
  • How to compare characters in Java
  • How to compare dates in Java
  • How to create a linked list in Java
  • How to create JAR file in Java
  • How to download Eclipse for Java
  • How to get ASCII value of char in Java
  • How to get current date and time in Java
  • How to handle NullPointerException in Java
  • How to initialize string array in Java
  • How to install Java on MAC
  • How to run Java program in Ubuntu
  • How to set JAVA_HOME in Linux
  • How to split a string in Java with delimiter
  • How to take multiple string input in Java using Scanner
  • How to uninstall Java in Ubuntu
  • How to update Java
  • How to add elements in array in Java
  • How to avoid deadlock in Java

Java 8 Features

  • Java 8 Features
  • Lambda Expressions in Java
  • Method References in Java
  • Functional Interfaces in Java
  • Streams in Java
  • Stream Filter in Java
  • Default Methods in Java
  • Optional class in Java
  • Java Base64 Encoding and Decoding
  • Type Annotations in Java
  • StringJoiner in Java
  • Arrays Parallel Sort in Java

Java Servlet Tutorial

Java JSP Tutorial

Hibernate Tutorial

Spring Tutorial

Spring MVC Tutorial

Jenkins Tutorial

Java Math Methods

Java String Methods

Java Conversion

Pin It on Pinterest

Share This