Exam 1 Topics
- Module 1: Introduction To Java
- Object-Oriented Programming
- Software Engineering Life Cycle
- Java Language Elements
- Compiling and Interpretting
- hello, world
- Be able to write a complete Java program that displays "hello, world"
- Java History
- Identifier Naming Rules
- main()
- Module 2: Java Objects & Classes
- Editing, Compiling, and Running Java Programs
- System and PrintStream classes
- Java's String class
- Java Classes
- Be able to write an entire class, based on code that is calling it (for example, like the CarForSale Practice Assignment)
- Objects
- Accessibility: public, private and protected
- Fields
- Abstract Data Types (ADTs)
- Constructors
- new (keyword)
- Methods
- static (keyword) Fields and Methods
- this (keyword)
- Accessor and Mutator Methods
- Private Helper Methods
- Arguments and Parameters
- Method Name Overloading
- Passing Arguments to a Method
- return (keyword)
- Method Calls & Stack Frames
- Lifetime and Scope
- if-else Statements
- while Loops
- Module 3: Debugging & User Interfaces
- Unit & Regression Testing
- Test Cases
- Javadocs
- assert Operator
- Debugging and Testing
- Input (Scanner class)
- User Interfaces
- Primitive Wrapper Classes
- Module 4: Java Language and Structures
- Data types and operators
- Short-Circuit Evaluation
- Division Operator: Integer or Floating-Point
- Promotion
- Increment and Decrement (Pre- and Post-)
- java.lang.Math Class
- Rounding
- while Loops
- for Loops
- Switch Statements
- String
- String Methods
- String Comparison
- StringBuffer and StringBuilder Classes