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 Sorting

Java OOPs Concepts

Java Strings

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