Core java tutorial for beginners and professionals with examples on Basics, OOPs, Methods, Overloading, Overriding, Inheritance, Polymorphism, Interfaces, Packages, Abstract classes, String handling, Exception handling, IO, Collections, Multithreading, Serialization and more.
Java language project initially started in June 1991 by James Gosling, Mike Sheridan, and Patrick Naughton. An oak tree stood outside Gosling’s office at that time and java named as oak initially. It later renamed as Green and was later renamed as java from java coffee.
Working core java examples programs with output and source code.
Basic tutorial:
- Programming language overview.
- Overview of Java.
- Java features
- JVM (java virtual machine) architecture details.
- Difference between JVM, JRE and JDK.
- Java Coding Guidelines.
- Some important definitions for java programs.
- Variable and data types.
- Hello world java program.
- Java examples programs.
- How to set permanent path?
- OOPs Basics.
- Object and Class.
- OOPs Principles/Concepts.
- Abstraction
- Encapsulation
- Polymorphism
- Method overloading
- Method overriding
- Dynamic method dispatch or Runtime polymorphism
- Association
- Inheritance with examples
- Aggregation
- Command line arguments
- How to execute command line argument program in eclipse.
- How to read input from command line using Scanner
- Abstract class
- Interface
- Custom marker Interface
- Constructor
- Package
- Access modifier