Describe instantiation and how it relates to 'is-a relationships.'
What will be an ideal response?
Everything is an object, and every object is a member of a more general class. Your desk is a member of the class that includes all desks, and your pet fish is a member of the class that contains all fish. These statements represent is-a relationships-that is, relationships in which the object "is a" concrete example of the class. The difference between a class and an object parallels the difference between abstract and concrete. An object is an instantiation of a class, or one tangible example of a class.
You might also like to view...
Identifiers are reserved words in the Java language.
Answer the following statement true (T) or false (F)
If you would like to get a security report about a website, you can click on the ________ icon when it is available
A) star B) gear C) padlock D) question mark
Which of the following is NOT an artistic effect available in PowerPoint 2013?
A) Marker B) Pencil sketch C) 3-D D) Watercolor painting
Using various interest rates to determine the amount of loan payments is an example of using ________
A) What-If Analysis B) Validation C) Lookup D) Protection