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 āĻāϰā§āύ