Review for Test - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Review for Test

Description:

Understand how references work. How they are used. Especially the restricted Java usage ... Hiding information. Publishing only the interface. Setter and Getter ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 9
Provided by: anselmo9
Category:
Tags: review | test | usage

less

Transcript and Presenter's Notes

Title: Review for Test


1
Review for Test 1
  • Test is on Thursday
  • February 7

2
Review
  • Basic Java
  • Types
  • Operators Precedence
  • Type conversion
  • Binary/Hexadecimal
  • Declaration modifiers
  • Public, private, static, final

3
Review
  • Boolean data types
  • Simple Boolean expressions (, , , )
  • Switch statement
  • Why break?
  • While and Do-While
  • Continue and Break statements in loops
  • Scope of variables

4
Review
  • Arrays
  • Initialization
  • Use of
  • Strings
  • Use of command-line arguments

5
References
  • Understand how references work
  • How they are used
  • Especially the restricted Java usage
  • What does new do?
  • Garbage collection
  • Parameter passing of references
  • Also passing primitive types as parameters

6
Advanced Programming
  • Polymorphism
  • Overloading method names
  • Encapsulation
  • Hiding information
  • Publishing only the interface
  • Setter and Getter methods
  • Why?

7
OOP
  • Constructors
  • Overloading
  • Static (as it relates to Objects and Classes)
  • Methods and variables

8
Inheritance
  • Definitions superclass, subclass, base class
  • Why use inheritance?
  • Is-A relationship
  • What can you do with Java inheritance
  • Add but not remove functionality
  • Rules for subclass constructors
  • Polymorphism for references
  • Object class all classes descended from
Write a Comment
User Comments (0)
About PowerShow.com