Welcome to the Java learning repository by Phitron.
This repo contains topic-wise examples, notes, and practice code for beginners to intermediate learners.
- Java syntax and programming fundamentals
- Control flow and arrays
- Classes, objects, encapsulation, inheritance, and interfaces
- Packages and nested classes
- File input/output
- GUI development with Swing
This repository currently includes modules 01 to 13:
01_Introduction_to_Java
02_Data_Types_Variables_and_Operators
03_control_statments
04_arrays
05_Classes_and_Objects
06_Class_Members
07_Encapsulation_and_Overloading
08_Inheritance_and_Polymorphism
09_Abstract_Classes_and_Interfaces
10_packages_access_modifers
11_nested_classes
12_file_input_output
13_GUI
01_Introduction_to_Java: Java basics, first program setup, and foundational syntax.02_Data_Types_Variables_and_Operators: Primitive types, variable handling, and operators in practice.03_control_statments: Conditional logic (if/else,switch) and loop patterns.04_arrays: One-dimensional and multi-dimensional array fundamentals.05_Classes_and_Objects: Class design, object creation, and core OOP structure.06_Class_Members: Fields, methods, and member-level behavior inside classes.07_Encapsulation_and_Overloading: Data hiding with encapsulation and method overloading concepts.08_Inheritance_and_Polymorphism: Parent-child relationships and runtime polymorphic behavior.09_Abstract_Classes_and_Interfaces: Abstraction design using abstract classes and interfaces.10_packages_access_modifers: Package structure, access control, and modular code organization.11_nested_classes: Inner/nested class usage and scope relationships.12_file_input_output: File I/O withFileReader,FileWriter,BufferedReader,BufferedWriter, andIOException; includes bilingual tutorial and practice files.13_GUI: Swing-based Notepad-style GUI (JFrame,JTextArea, menus, listeners), bilingual tutorial, and self-practiceOpen/Savetasks.
- Install JDK (Java Development Kit).
- Open this repository in VS Code (or any IDE).
- Compile and run from terminal:
javac YourProgram.java
java YourProgramExample:
cd 12_file_input_output
javac FileHandler.java
java FileHandler- Read module
readme.mdfirst. - Run the Java files manually from terminal.
- Modify code and test behavior.
- Implement pending practice tasks (especially in GUI and file I/O modules).
- Md. Fatin Shadab Turja: GitHub
- Email: fatinshadab123@gmail.com
এই repository-টি University এবং Diploma level-এর শিক্ষার্থীদের জন্য Java শেখার একটি structured playlist।
এখানে topic অনুযায়ী code example, note, এবং practice task সাজানো আছে।
বর্তমানে 01 থেকে 13 পর্যন্ত module রয়েছে। বিশেষভাবে:
12_file_input_output-এ File I/O (FileReader,FileWriter,BufferedReader,BufferedWriter,IOException) শেখানো হয়েছে।13_GUI-এ Java Swing দিয়ে basic Notepad-type app শেখানো হয়েছে।12এবং13module-এ bilingual (English + Bangla) tutorial যোগ করা হয়েছে।
শেখার ভালো উপায়:
- প্রতিটি module-এর
readme.mdপড়ুন - কোড terminal থেকে compile/run করুন
- নিজে পরিবর্তন করে output দেখুন
- self-practice task (যেমন GUI
Open/Save) implement করুন
