This repository contains Java programs that I worked out in class (in 2022), along with my lecture notes.
- Introduction to Java (Aug 30)
- Static, Instance Initialization Block, Final Data member (Sep 5)
- Nested class, Anonymous object & class, Abstract class (Sep 6)
- Reusability, Inheritance, Access Specifiers (Sep 9)
- Dynamic Method Dispatch (Sep 12)
- Dynamic Type Inference with Multi-Level Inheritance (Sep 13)
- Package & Import (Sep 16)
- Interface & Implements (Sep 19)
- Exception (Sep 26)
- Exception and its types [Arithmetic, etc] (Sep 27)
- Exception and its types [throw] (Sep 30)
- Multi Threading [Introduction] (Oct 07)
- Multi Threading [Runnable] (Oct 08)
- Thread Synchronization (Oct 10)
- Interthread Communication (Oct 14)
java.io
Package (Oct 17)- FileInputStream and FileOutputStream (Oct 18)
- FileReader and Extending a Thread (Oct 21)
- Collection API (Oct 28)
- Collection API (List, Set, Map) (Nov 4)
- Collection API (Map, Comparator) (Nov 7)
- Introduction to GUI (AWT) (Nov 14))
- Actions (ActionEvent, ActionListener) and Introduction to Swing (Nov 18).
- MouseEvent, MouseListener, MouseMotionListener (Nov 21)
- AdjustmentEvent, Scrollbar, AdjustmentListener (Nov 22)
- Adapter class, Inner class and KeyListener (Nov 25)
- GUI Swing MenuBar (Nov 26)
- Menu Driven App (Nov 28)
- JToggleButton, JRadioButton, JCheckBox (Nov 29)
- Multi-threading in GUI, timer object (Dec 2)
- Dialog Box, Popup menu (MessageBox, InputBox) (Dec 3)
- You can view the template I use for all lectures here.
- Additional solved programs are available in the Programs and Lab directories.