Midterm #2 Topics
Java Specific Features
- Pass by value
- Return values
- Strings (including conversion to/from primitive types)
- Variables (instance, parameter, local, shadowing)
- Increment/Decrement operators (++, --)
- Loops (while, for, do-while), nested loops
- switch statement
- break statement
- Arrays (of primitives and of references), passing as parameters and returning
- Callbacks
- Class definition
- Class vs. Object
- Reference and primitive type variables
- Objects with no references
- Garbage collection
- private and public access specifiers
- Current object
- Memory maps
- Defining static and non-static methods
- Static and non-static fields
- Constructor
- Default constructor
- MVC
- JOptionPane methods used in homeworks
Problem Solving
General Programming Issues
Exam Rules
-
50 minutes exam (in lecture).
-
Closed book, closed notebooks, no calculators allowed.
-
Please use pencil.
-
Format:
Web Accessibility