Problem 15
What is a method's signature?
Problem 16
Look at the following class: public class CheckPoint { public void message(int x) { System.out.print(鈥淭his is the first version 鈥); System.out.println(鈥渙f the method.鈥); } public void message(String x) { System.out.print(鈥淭his is the second version 鈥); System.out.println(鈥渙f the method.鈥); } } What will the following code display? CheckPoint cp = new CheckPoint(); cp.message(鈥1鈥)
Problem 17
How many default constructors may a class have?
Problem 18
What is a problem domain?
Problem 19
When designing an object-oriented application, who should write a description of the problem domain?
Problem 20
How do you identify the potential classes in a problem domain description?
Problem 22
What two questions should you ask to determine a class's responsibilities?