How 22f2000147/java-oppe-practice-qn works
This repository is a collection of standalone Java practice-question solutions, not a single integrated application. A learner supplies console input to an example program, which demonstrates a topic and prints a result. The examples cover exception handling, stream filtering, cloning and copying objects, and interface-based behavior. Each program is self-contained, so the graph shows independent workflows rather than connecting examples into a shared pipeline. Relationships are based on the sampled source; the README describes compiling and running files but does not document additional runtime integrations.
Main entry points: AgeExceptionTest.java Age eligibility · ProjectManager.java Project management · StreamTest.java Product filtering · CloningTest.java Book cloning
Components 12
Exceptions
- Age eligibility
oppe2-pyqs-sols/1_Exceptions/AgeExceptionTest.java - Project management
oppe2-pyqs-sols/1_Exceptions/ProjectManager.java
Streams
- Product filtering
oppe2-pyqs-sols/2_Streams/StreamTest.java
Object-oriented examples
- Book cloning
oppe2-pyqs-sols/3_Cloning/CloningTest.java - Cloning demo
oppe2-pyqs-sols/3_Cloning/CloningTestVisualise.java - Student deep copy
sept-2024-solutions/Q1/DeepUniversity.java - Student copy demo
sept-2024-solutions/Q1/ShallowUniversity.java - Copy constructor example
sept-2024-solutions/Q1/University.java - Interface dispatch
sept-2024-solutions/Q2/InterfaceTest.java - Interface demo
sept-2024-solutions/Q2/demo.java
Other components
- Learner
- Console output
Connections 20
- Learner → Age eligibility: enters age
oppe2-pyqs-sols/1_Exceptions/AgeExceptionTest.java - Age eligibility → Console output: prints eligibility
oppe2-pyqs-sols/1_Exceptions/AgeExceptionTest.java - Learner → Project management: enters projects
oppe2-pyqs-sols/1_Exceptions/ProjectManager.java - Project management → Console output: prints projects
oppe2-pyqs-sols/1_Exceptions/ProjectManager.java - Learner → Product filtering: enters products
oppe2-pyqs-sols/2_Streams/StreamTest.java - Product filtering → Console output: prints matches
oppe2-pyqs-sols/2_Streams/StreamTest.java - Learner → Book cloning: enters book data
oppe2-pyqs-sols/3_Cloning/CloningTest.java - Book cloning → Console output: prints books
oppe2-pyqs-sols/3_Cloning/CloningTest.java - Cloning demo → Console output: prints books
oppe2-pyqs-sols/3_Cloning/CloningTestVisualise.java - Learner → Cloning demo: runs demo
oppe2-pyqs-sols/3_Cloning/CloningTestVisualise.java - Learner → Student deep copy: enters student data
sept-2024-solutions/Q1/DeepUniversity.java - Student deep copy → Console output: prints copies
sept-2024-solutions/Q1/DeepUniversity.java - Student copy demo → Console output: prints copies
sept-2024-solutions/Q1/ShallowUniversity.java - Learner → Student copy demo: runs example
sept-2024-solutions/Q1/ShallowUniversity.java - Learner → Copy constructor example: enters student data
sept-2024-solutions/Q1/University.java - Copy constructor example → Console output: prints copies
sept-2024-solutions/Q1/University.java - Learner → Interface dispatch: enters device types
sept-2024-solutions/Q2/InterfaceTest.java - Interface dispatch → Console output: prints messages
sept-2024-solutions/Q2/InterfaceTest.java - Learner → Interface demo: enters device types
sept-2024-solutions/Q2/demo.java - Interface demo → Console output: prints messages
sept-2024-solutions/Q2/demo.java