Lab07 - Midterm Exam
7th lab at 04.11.2024
Written midterm exam
Exam themes
- Java basics
- Object, constructors, methods, fields (attributes)
- Object comparsion equals method
- Java packages
- Object oriented programing in Java
- Interface, implementation of interface, inheritance
- Inheritence and constructors, this(), super()
- Method overriding
- Casting object variables, operator instanceof
- Nested (Internal) class
- Supertype Class Object
- Absract classes, virtual methods
- Exceptions
- Exception throwing
- Exception hierarchy - Checked/unchecked
- try - catch block
- finally
- Enhanced syntax of “try” - try with resources
- Java Collections Framework
- Base type of collections - collection hierarchy
- difference between diffrent type of collections
- Using of Map and Set
- Algorithms in java.util.Collections
- Comparable / Comparator
- Iterable / Iterator