Download presentation
Presentation is loading. Please wait.
1
Chapter 4 Test Review First day
24 Multiple Choice Questions (1 point each) 12 True/False (1 point each) Second day 7 Short answer (points vary, 36 points total) 72 points total
2
Test Topics - 1 Relationship between class and object
Classes calling other classes What defines an object’s behavior? Defining classes, instantiation, instance data Do you always need a class constructor? Do you need a “main” method in a class? Class methods Calling Writing Encapsulation variable scope Within a method or class Global, private, public data & methods
3
Test Topics - 2 Methods Trace program flow with method calls
Returning parameters from a method Do you always need a return statement? How to overload signatures decomposition Do you need anything in the body of a method? Formal and actual parameters (arguments) What is allowed to be passed as an argument? Widening in the argument of a method call Trace program flow with method calls Interpreting code (what does it do)
4
Test Topics - 3 Review these classes Short answer String
Coin (pp ) Die (pp ) Short answer Writing constructors, methods Writing headers
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.