This repository contains Core Java concepts organized in a package-wise structure with .md documentation and example programs.
The project is designed as a learning and reference repository for Java fundamentals.
The following Core Java topics are included or planned to be covered in this repository.
- Introduction to Java
- Java program structure
- Compilation and execution process
- JVM, JRE, JDK overview
- Primitive data types
- Non-primitive data types
- Type casting
Package:
datatype
- Local variables
- Instance variables
- Static variables
Package:
localglobal
- Arithmetic operators
- Relational operators
- Logical operators
- Assignment operators
- Unary operators
- Ternary operator
- Bitwise operators
Package:
operators
- if
- if-else
- nested if
- switch
- for loop
- while loop
- do-while loop
- break
- continue
- return
Package:
controlstatements
- Single dimensional array
- Multi-dimensional array
- Array iteration
- Array input using Scanner
Package:
arrays
Programs for reading input using:
- Scanner class
Packages:
scanner
- Classes and objects
- Methods
- Method parameters
- Method overloading
Package:
classesobjects
methods
Examples demonstrating:
- Default constructor
- Parameterized constructor
- Copy constructor
- Constructor overloading
Package:
constructor
Implementation of common methods inherited from Object class:
- toString()
- equals()
- hashCode()
- getClass()
Package:
objectclass
Topics related to string handling:
- String class
- String methods
- StringBuilder
- StringBuffer
Package:
string
Examples showing usage of:
- public
- private
- protected
- default
Package:
accessmodifier
- Static variables
- Static methods
- Static blocks
Package:
statickeyword
Usage of:
- final variables
- final methods
- final classes
Package:
finalkeyword
Basic exception handling concepts:
- try
- catch
- finally
- throw
- throws
Package:
exceptionhandling
Introduction to common collections:
- ArrayList
- LinkedList
- HashSet
- HashMap
Package:
collections
core-java
│
└── src
└── com
└── core
└── java
├── basics
├── datatype
├── localglobal
├── operators
├── controlstatements
├── arrays
├── scanner
├── commandline
├── classesobjects
├── methods
├── constructor
├── objectclass
├── string
├── accessmodifier
├── statickeyword
├── finalkeyword
├── exceptionhandling
└── collections
This project is created to:
- Learn Core Java fundamentals
- Practice Java concepts using small examples
- Maintain organized package-wise code structure
- Provide documentation using Markdown files
- Serve as a reference for Java beginners
To build a complete Core Java learning repository that gradually covers:
- Java fundamentals
- Object-oriented programming concepts
- Standard Java libraries
- Basic collections and exception handling