Java Tutorial – Java is a widely used robust technology. This Java Tutorial is aimed to help beginners learn Java Programming language.
Java Tutorial
Java Programming Language is one of the most popular languages among developers. Most of the production servers, regular desktops, workstations, smart phones etc., are powered by Java. In this Java Tutorial, we shall start with learning basic and core concepts of Java. We shall also learn how to program and build applications using Java.
Java Tutorial Index
The following tutorials help you with the Java Basics and Java Example Programs.
- What is Java
- Install Java
- List of IDEs for Java programming
- HelloWorld Java Example Program
- Structure of a Java Program
- Classes and Objects
- Inheritance in Java
- Polymorphism in Java
- Encapsulation in Java
- Interfaces in Java
Programming Concepts
- Data Types
- Variable Types
- Access Modifiers in Java
- Operators
- Arithmetic Operators
- Relational Operators
- Decision Making
- Loops
- Arrays
- Overriding
Strings
- Print a string to console output
- Read a string from console input
- Concatenate or add two strings
- Check if two strings are equal
- Get the index of first occurrence of a substring in a string
- Get the index of nth occurrence of a substring in a string
- Replace the first occurrence of a substring with another(substring) in a string
- Replace all occurrences of a substring with another(substring) in a string
- Reverse a string
- Convert all the characters of a string to upper case
- Convert all the characters of a string to lower case
- Initialize a string array
- Concatenate two strings
- Concatenate all the strings in an array to a single string
- Split a string with space as a delimiter
- Extract comma separated values from a string
- Split a string using a delimiter
File Operations
- Read contents of a File line by line using BufferedReader
- Read contents of a File line by line using Stream in Java 8
- Filter list of files or directories in a folder using Java
Date Operations
Design Patterns
Exception Handling
- Call Stack
- Try Catch Block
- Try With Resource
Exceptions
- ArithmeticException
- ArrayIndexOutOfBoundsException
- ArrayStoreException
- ClassCastException
- IllegalArgumentException
- IllegalMonitorStateException
- IllegalStateException
- IllegalThreadStateException
- IndexOutOfBoundsException
- NegativeArraySizeException
- NullPointerException
- NumberFormatException
- SecurityException
- StringIndexOutOfBoundsException
- UnsupportedOperationException
Java Example Programs
Conclusion :
With the help of this Java Tutorial, we have learnt the basics of Java, understood its core concepts, and a hands on the Java Examples.