This repository contains the Java code for all the tasks included in Assignment 2 of the CSE110: Object Oriented Programming course at EAST WEST UNIVERSITY.
The objective of this assignment is to enhance problem-solving skills related to object-oriented programming concepts. The tasks involve creating methods, method overloading, class and object creation, constructor usage, access modifiers, instance and static methods, and more.
Tasks Checklist
- ✅ 1. Palindrome Integer (T01_Palindrome.java)
- ✅ 2. Display Matrix of 0s and 1s (T02_Matrix.java)
- ✅ 3. Check Password (T03_Password.java)
- ✅ 4. Count the Letters in a String (T04_CountLetters.java)
- ✅ 5. Occurrences of a Specified Character (T05_CountChar.java)
- ✅ 6. Stock Class (T06_Stock.java)
- ✅ 7. Use the GregorianCalendar Class (T07_CalendarTest.java)
- ✅ 8. Stopwatch (T08_StopWatch.java)
- ✅ 9. Algebra: 2 * 2 Linear Equations (T09_LinearEquation.java)
- ✅ 10. The Location Class (T10_Location.java)
Menu-Driven Approach
This project utilizes a menu-driven approach for user interaction and task execution. The App
class's main
method serves as the entry point of the program and implements the following functionalities:
- Display a menu listing all available tasks.
- Allow users to select a task by entering the corresponding number.
- Execute the chosen task based on the user's selection.
- Provide clear instructions and prompts within each task.
This approach enhances the user experience and simplifies the interaction with the various functionalities implemented in the assignment.
Complete Code Documentation
For the complete and formatted code of all implemented functionalities, please refer to the "assignment02-solutions" PDF.
Accessible Problems
Detailed descriptions of the problems are available in the "assignment02-problems" PDF.
- Ahmed Abdal Shafi Rasel, Lecturer, Department of CSE, East West University
- IDE: Apcahe NetBeans IDE 21
- Build Tool: Gradle@8.6
- Programming Language: Java@21
- Documentation: Gemini, ChatGPT
We welcome contributions to this project! Feel free to fork the repository and submit pull requests with your improvements.
This project is licensed under the MIT License. See the LICENSE
file for details.
Please note: This project currently does not have any automated or unit test implementation. While the program functions as intended, future development efforts might include the addition of testing frameworks for improved code reliability and maintainability.