Skip to content

This repository features Java code examples from basics to advanced Java 8 concepts, including OOP, multithreading, collections, and modern Java 8 features like lambda expressions and Stream API.

Notifications You must be signed in to change notification settings

albab786/Java_Practise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŸ Java Practice: From Beginner to Java 8 ๐ŸŒŸ Welcome to the Java Practice repository! This repository is a collection of Java code samples, from the basics of programming to advanced Java 8 features. Whether you're starting your journey with Java or brushing up on core concepts, you'll find useful examples and projects here!

๐Ÿ—‚๏ธ Repository Structure The repository is organized into several sections covering key concepts:

  1. ๐Ÿš€ Java Basics ๐Ÿ’ป Basic Syntax ๐Ÿ”ข Variables and Data Types ๐Ÿ“ Conditional Statements (if-else, switch) ๐Ÿ”„ Loops (for, while, do-while) ๐Ÿงฎ Arrays and Basic Operations

  2. ๐Ÿงฉ Object-Oriented Programming (OOP) ๐Ÿ“ฆ Classes and Objects ๐Ÿ› ๏ธ Constructors ๐Ÿ—๏ธ Inheritance ๐Ÿง  Polymorphism ๐Ÿ”’ Encapsulation ๐ŸŒŸ Abstraction ๐Ÿ”— Interfaces

  3. ๐Ÿงต Multithreading ๐Ÿง‘โ€๐Ÿ’ป Introduction to Threads ๐Ÿ›ค๏ธ Creating Threads using Thread class and Runnable interface ๐Ÿ” Thread Synchronization ๐Ÿ”„ Inter-thread Communication โšก Concurrency and Thread-safe Practices

  4. ๐Ÿ“š Collection Framework ๐Ÿ“‹ Lists, Sets, Maps, and Queues ๐Ÿ—ƒ๏ธ ArrayList, LinkedList, HashSet, TreeSet, HashMap, TreeMap ๐Ÿ” Iterators and for-each Loops ๐Ÿ“Š Sorting and Filtering Collections

  5. ๐ŸŒŸ Java 8 Features โšก Lambda Expressions: Functional programming with concise syntax ๐ŸŒŠ Stream API: Efficient processing of collections โ“ Optional: Handling nulls gracefully ๐ŸŽฏ Method References: Referencing methods and constructors ๐Ÿ› ๏ธ Default Methods: Adding methods to interfaces without breaking existing implementations

๐Ÿ› ๏ธ Prerequisites To run the code examples from this repository, you will need: ๐Ÿ› ๏ธ Java JDK 8 or higher installed. ๐Ÿ–ฅ๏ธ A code editor or IDE such as IntelliJ IDEA, Eclipse, or VS Code.

๐Ÿš€ Getting Started Clone this repository to your local machine: bash Copy code git clone https://github.com/albab786/Java_Practise.git Open the project in your preferred IDE. Explore each section to learn Java concepts step by step. ๐ŸŒŸ How to Contribute Contributions are always welcome! Feel free to: ๐Ÿด Fork this repository ๐Ÿ”ง Make improvements or add new Java topics ๐Ÿš€ Submit a pull request

๐Ÿ“œ License This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository features Java code examples from basics to advanced Java 8 concepts, including OOP, multithreading, collections, and modern Java 8 features like lambda expressions and Stream API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages