Rabu, 14 Januari 2015

CHAPTER 12

Nama : Aditya Isnugraha
Class   : LM01
NIM    : 1801419606

Assignment from Tri Djoko Wahjono
CHAPTER 12

- REVIEW QUESTIONS

11. What is the message protocol of an object? 
Answer :


 
12. From where are Smalltalk objects allocated? 
Answer :


 
13. Explain how Smalltalk messages are bound to methods. When does this take place? 
Answer :


 
14. What type checking is done in Smalltalk? When does it take place? 
Answer :


 
15. What kind of inheritance, single or multiple, does Smalltalk support?
Answer :



 - PROBLEM SET

11. Explain the advantages and disadvantages of having all values in a  language be objects. 
Answer :

 
12. What exactly does it mean for a subclass to have an is-a relationship with its parent class? 
Answer :


13. Describe the issue of how closely the parameters of an overriding method must match those of the method it overrides. 
Answer :

 
14. Explain type checking in Smalltalk. 
Answer :


 
15. The designers of Java obviously thought it was not worth the additional efficiency of allowing any method to be statically bound, as is the case with C++. What are the arguments for and against the Java design? 
Answer :




Tidak ada komentar:

Posting Komentar