23CM9201 · Java Programming Practices · R23 Regulation · CSE (AI & ML)
| Week | Topics | Sample Program | CO |
|---|---|---|---|
| Week 1 & 2 | Fundamentals of OOP: Object-oriented paradigm, Objects & Classes, Data Abstraction, Encapsulation, Inheritance, Polymorphism, Dynamic Binding | Bank Account Management System (Account, SavingsAccount, CurrentAccount) | CO1 |
| Week 3 | Java Programming: Buzzwords, Data types, Variables, Operators, Control structures, Arrays, Console I/O | Prime Palindrome Check; Command Line Arguments – Marks Total & Average | CO1 |
| Week 4 & 5 | Classes, Objects, Constructors, Methods, Parameter Passing, Method & Constructor Overloading |
Farm Animals application; Employee data by cadre, implement the below class diagram
Click to expand
|
CO1 |
| Week 6 | Static fields & methods, this reference, final keyword, String Handling |
Longest Substring Without Repeating Characters | CO1 |
| Week 7 | Inheritance – Types, super keyword, Member Access, final. Polymorphism – Dynamic Binding, Method Overriding, Abstract Classes |
Banking System: Method Overriding with RBI, SBI, HDFC | CO1 |
| Week 8 | Interfaces – Defining, Implementing, Accessing via interface references, Extending interfaces | Employee Categories – Regular, Contract, Vendor salary calculation | CO2 |
| Week 9 | Packages – Defining, Creating, Accessing, Importing packages | Roman to Integer conversion using a custom package | CO2 |
| Week 10 | I/O – Reading and writing files | Pattern frequency count ('pe', 'pi') in a text file | CO2 |
| Week 11 | Exception Handling – try/catch, throw, throws, finally, multiple catches, built-in & user-defined exceptions | Mobile Number Validator with custom exceptions | CO3 |
| Week 12 | Multithreading – Thread priorities, synchronization, creating multiple threads | Seat Reservation System using synchronization | CO3 |
| Week 13 | Collection Framework – Collection, List, Set, Queue interfaces |
Letter Combinations of a Phone Number
Click to expand
|
CO4 |
| Week 14 | Collection Classes – ArrayList, LinkedList, HashSet, TreeSet, PriorityQueue | Valid Parentheses using Stack and TreeSet | CO4 |
Java Programming Practices Lab · 23CM9201 · Academic Year 2026–27 · CSE (AI & ML)
| # | Week | Experiment Title & Description | CO |
|---|---|---|---|
| Exp 1 | 1 & 2 | Bank Account Management System OOP: Classes, Encapsulation, Inheritance, Polymorphism, Dynamic Binding. Classes: Account, SavingsAccount, CurrentAccount. |
CO1 |
| Exp 2 | 3 | Java Basics – Prime Palindrome Check Check whether a given number is a prime palindrome. |
CO1 |
| Exp 3 | 3 | Java Basics – Command Line Arguments Read marks of five subjects via command line; print total and average. |
CO1 |
| Exp 4 | 4 & 5 | Classes and Objects – Farm Animals Application Design a farm animals app: where they stay, what they eat, the sound they make. |
CO1 |
| Exp 5 | 4 & 5 | Class Diagram – Customer, Order, SpecialOrder, NormalOrder Implement a class diagram with Customer, Order, SpecialOrder, and NormalOrder. |
CO1 |
| Exp 6 | 4 & 5 | Constructor Overloading – Employee Data by Cadre Maintain employee data (name, id, designation, salary, promotion status) using constructor overloading. |
CO1 |
| Exp 7 | 6 | String Handling – Longest Substring Without Repeating Characters "abcabcbb" → 3 ("abc"), "pwwkew" → 3 ("wke"). |
CO1 |
| Exp 8 | 7 | Method Overriding – Banking System (RBI, SBI, HDFC) Dynamic polymorphism: RBI 4%, SBI 7%, HDFC rate via overriding. |
CO1 |
| Exp 9 | 8 | Interfaces – Employee Categories Monthly salary for Regular, Contract, and Vendor employees using interfaces. |
CO2 |
| Exp 10 | 9 | Packages – Roman to Integer Conversion Define package number with Roman class; implement romanToInteger(). "LVIII" → 58. |
CO2 |
| Exp 11 | 10 | File Handling – Pattern Frequency Count Count occurrences of 'pe' and 'pi' in sample.txt. Expected: 'pe'=20, 'pi'=12. |
CO2 |
| Exp 12 | 11 | Exception Handling – Mobile Number Validator Validate 10-digit mobile; raise ArrayIndexOutOfBoundsException, LengthNotSufficientException, or NumberFormatException. |
CO3 |
| Exp 13 | 12 | Multithreading – Seat Reservation System Reserve seats from 100 using synchronized threads; only one person thread accesses reserve at a time. |
CO3 |
| Exp 14 | 13 | Collection Framework – Letter Combinations of Phone Number Given digits 2–9, return all letter combinations (T9 keypad). "23" → ["ad","ae","af","bd","be","bf","cd","ce","cf"]. |
CO4 |
| Exp 15 | 14 | Collection Classes – Valid Parentheses Check if a string of '()', '{}', '[]' is valid using Stack and TreeSet. |
CO4 |
Java Programming Practices · 23CM9201 · R23 Regulation
Grand Total = 100 Marks