Rabu, 14 Januari 2015

CHAPTER 11

Nama : Aditya Isnugraha
Class   : LM01
NIM    : 1801419606

Assignment from Tri Djoko Wahjono
CHAPTER 11

- REVIEW QUESTIONS

11. What is the use of the Ada use clause? 
 Answer :


12. What is the fundamental difference between a C++ class and an Ada package? 
 Answer :


13. From where are C++ objects allocated? 
Answer :


14. In what different places can the definition of a C++ member function appear? 
Answer :


15. What is the purpose of a C++ constructor?
Answer :



- PROBLEM SET

 11. What are the arguments for and against the Objective-C design that method access cannot be restricted? 
Answer :


 
12. Why are destructors rarely used in Java but essential in C++? 
Answer :


 
13. What are the arguments for and against the C++ policy on inlining of methods? 
Answer :


 
14. Describe a situation where a C# struct is preferable to a C# class. 
Answer :


 
15. Explain why naming encapsulations are important for developing large programs. 
Answer :


Tidak ada komentar:

Posting Komentar