Skip to content

piyushpingale23/core-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core Java Project Overview

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.


Topics Covered in This Project

The following Core Java topics are included or planned to be covered in this repository.


1. Java Basics

  • Introduction to Java
  • Java program structure
  • Compilation and execution process
  • JVM, JRE, JDK overview

2. Data Types

  • Primitive data types
  • Non-primitive data types
  • Type casting

Package:

datatype

3. Variables

  • Local variables
  • Instance variables
  • Static variables

Package:

localglobal

4. Operators

  • Arithmetic operators
  • Relational operators
  • Logical operators
  • Assignment operators
  • Unary operators
  • Ternary operator
  • Bitwise operators

Package:

operators

5. Control Statements

Conditional Statements

  • if
  • if-else
  • nested if
  • switch

Looping Statements

  • for loop
  • while loop
  • do-while loop

Jump Statements

  • break
  • continue
  • return

Package:

controlstatements

6. Arrays

  • Single dimensional array
  • Multi-dimensional array
  • Array iteration
  • Array input using Scanner

Package:

arrays

7. User Input

Programs for reading input using:

  • Scanner class

Packages:

scanner

8. OOPs

  • Classes and objects
  • Methods
  • Method parameters
  • Method overloading

Package:

classesobjects
methods

9. Constructors

Examples demonstrating:

  • Default constructor
  • Parameterized constructor
  • Copy constructor
  • Constructor overloading

Package:

constructor

10. Object Class Methods

Implementation of common methods inherited from Object class:

  • toString()
  • equals()
  • hashCode()
  • getClass()

Package:

objectclass

11. Strings

Topics related to string handling:

  • String class
  • String methods
  • StringBuilder
  • StringBuffer

Package:

string

12. Access Modifiers

Examples showing usage of:

  • public
  • private
  • protected
  • default

Package:

accessmodifier

13. Static Keyword

  • Static variables
  • Static methods
  • Static blocks

Package:

statickeyword

14. Final Keyword

Usage of:

  • final variables
  • final methods
  • final classes

Package:

finalkeyword

15. Exception Handling

Basic exception handling concepts:

  • try
  • catch
  • finally
  • throw
  • throws

Package:

exceptionhandling

16. Collections Framework (Basic)

Introduction to common collections:

  • ArrayList
  • LinkedList
  • HashSet
  • HashMap

Package:

collections

Project Package Structure

core-java
│
└── src
    └── com
        └── core
            └── java
                ├── basics
                ├── datatype
                ├── localglobal
                ├── operators
                ├── controlstatements
                ├── arrays
                ├── scanner
                ├── commandline
                ├── classesobjects
                ├── methods
                ├── constructor
                ├── objectclass
                ├── string
                ├── accessmodifier
                ├── statickeyword
                ├── finalkeyword
                ├── exceptionhandling
                └── collections

Purpose of This Repository

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

Repository Goal

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages