Welcome to the Core Java Examples repository! This repository contains a variety of Java programming examples organized into different categories. Each category focuses on specific core Java concepts to help you understand and apply these fundamental programming skills.
-
Collections: Explore examples demonstrating various Java Collections Framework classes and interfaces. Learn about
List,Set,Map, and other collection types. -
Generics: Discover how to use Java Generics to create classes, interfaces, and methods that operate on typed parameters, enhancing code reusability and type safety.
-
OOP (Object-Oriented Programming): Delve into core object-oriented programming concepts such as inheritance, encapsulation, and polymorphism through practical Java examples.
-
Streams API: Learn about the Java Streams API and its capabilities for processing sequences of elements. Examples cover stream operations like filtering, mapping, and reducing.
-
Threads: Understand multi-threading and concurrency in Java with examples covering thread management, synchronization, and thread coordination.
To get started with these examples:
-
Clone this repository:
git clone https://github.com/chandrakanthrck/CoreJava.git
-
Navigate to the
srcdirectory:cd CoreJava/src -
Explore each subdirectory to find detailed examples and instructions.
-
Compile and run the Java files using your preferred Java development environment or command-line tools.
This project is licensed under the MIT License.