a. In Object-oriented design, an object is a specific combination of data and the methods that can process and communication that data. The type of an object is defined by a class.
b. The type of fields can be different among different instances (objects) from the same generic class
c. In Java, the “friendly” class modifier describes a class that can only be used by the classes in the same package.
d. In Java, the “protected” variable modifier indicated that only methods of the same class (not methods of a subclass) can access instance variables.
e. With Abstract Data Type, we know what the operations are and what they do, but not how the operations implemented.
f. Inheritance allows the design of general classes to be specialized to more particular classes with code reused
g. An interface is a collection of method declarations with no data and no bodies.
我分別覺得是O O X O O O X
請高手幫我看看是否有誤,我怕我的觀念是錯的
如果我錯了,希望可以告訴我一下我錯在哪邊
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.