Java Tutorial – Learn Java basics and oops concepts in simple way with examples. Tutorial is well organized in order and easy to understand.
This Tutorial is designed for complete beginners, programmers, java developers or who wants to learn android and selenium testers who want learn core java.
Some of the topics on oops concept for working professionals has been considered. Also, this java tutorial is really good for revision for the people who are attending interviews. In fact, this java tutorial is for everyone who wants to learn core java from the beginning or want to revise java concepts.
Java Basics Tutorial
Java Starter
- Hello World
- Creaking a project, Package and Class
- Writing a simple hello world program
- Java Variables and Data types
- Printing data on Console using system.out.println
- Creating and calling methods in java
- Methods Parameters and Return types
- Getting Program Input from User / Keyboard
Basic Operators in Java
Java Conditionals
- If & If-Else in java
- If-Else Ladder
- Nested If & Nested If-Else
- Java Switch Case
- Ternary operators in Java
Java Loops Tutorial
- Loops in Java
- For loop & infinite for loop
- While loop and infinite while
- Do while loop
- Break in loops
- Continue in loops
Java OOPS Concepts Tutorial
Java Class and Object Tutorial
- Creating a class in java
- java Class and object – Creating simple class and its objects
- Java constructor – Creating class constructor and calling constructor
- Java Parameterized constructor – Parameters in class constructors
- Java Multiple Constructors – Creating multiple constructors in a class
- Java initializing an object – Initialize an object of the class using constructor
- Java Array of objects – Creating array of user defined class objects
Java Inheritance Tutorial
- Java Inheritance – Including Single Inheritance
- Java Multilevel Inheritance
- Java Hierarchical Inheritance
- Java Hybrid inheritance
- Java Multiple Inheritance
Java Interface Tutorial
- Interface in java
- Java Interface variables
- Java Interface methods
- Java multiple interface implementation
- Java Interface extends another interface
Java Polymorphism tutorial
- Java Polymorhphism
- Java Constructor Overloading – Having multiple constructors in a class
- Java method overloading – Having multiple methods with SAME NAME in a class
- Java method overriding -With Base class & derived class. With Interface & derived class – Having methods with SAME NAME in base and derived both.
Java Abstract Class & Method
Important Java Keywords
- Java Super keyword – Refer class variables, methods and constructor.
- Java this keyword
- Final Keyword
- Static Keyword
- Java Static Variable – Shared by all objects
- Java Static Method – Call methods without creating object of the class
- Java Static Block – Use to perform operations before object construction
String & Array
- Java String class
- Java Array
Exceptions
- Java Checked and Un-Checked exception
- Java Try Catch block, multiple Catch, Nested Try Catch
- Java Try catch finally
File Input / Output
- Creating a text file
- Read and write to a text file
- Serialization & Deserialization