
Preview locked
Sign in on Xerolas to download this exam.
Object-Oriented Programming Practice Set
- Subject
- object-oriented-programming
- Year
- 2024
- University
- aau
- Price
- Free
- Downloads
- 0
- Exam type
- practice_set
This document is a programming practice set focusing on Java Object-Oriented Programming concepts, specifically inheritance, abstract classes, and method overriding. It requires students to implement geometric point calculations in 2D and 3D space. Key Topics Covered: Abstract classes, class inheritance (extends), method overriding, polymorphism, and mathematical operations (magnitude, distance, dot product) using the Math library. Exam Structure & Format: The assessment is divided into two parts: Part 1 involves implementing class structures for 'Point', 'TwoD', and 'ThreeD' with specific point-based calculations. Part 2 involves writing a 'MyClass' driver program to instantiate these objects and demonstrate the output of the implemented methods.