Ready to test your Knowledge?
Try out our new practice tests completely free!
exam preparation banner icon

Programming Logic and Design Comprehensive

Computing

Quiz 11 :

More Object-Oriented Programming Concepts

Quiz 11 :

More Object-Oriented Programming Concepts

search
arrow
The most common way to declare a destructor explicitly is to use an identifier that consists of ____.
Free
Multiple Choice
Answer:

Answer:

C

arrow
A class that is used as a basis for inheritance is called a ____ class or a superclass.
Free
Multiple Choice
Answer:

Answer:

A

arrow
A(n)____ in a class diagram indicates public access.
Free
Multiple Choice
Answer:

Answer:

C

arrow
Any constructor you write must have the same name as the class it constructs,and it cannot have a return type.
True False
Answer:
arrow
You can create constructors for a class with or without parameters.
True False
Answer:
arrow
It makes sense that a parent class object has access to its child's data and methods.
True False
Answer:
arrow
A derived class always ____ case or instance of the more general base class.
Multiple Choice
Answer:
arrow
An abstract class is one from which you can create any concrete objects and from which you can inherit.
True False
Answer:
arrow
The built-in Exceptions in a programming language can cover every condition that might be an Exception in your applications.
True False
Answer:
arrow
The entire list of parent classes from which a child class is derived constitutes the ____ of the subclass.
Multiple Choice
Answer:
arrow
In object-oriented terminology,"default constructor" means a constructor with a single standard parameter.
True False
Answer:
arrow
In some programming languages,such as C#,Visual Basic,and Java,every class you create is a child of one ultimate base class,often called the ____ class.
Multiple Choice
Answer:
arrow
The relationship created with composition is called a(n)____ relationship.
Multiple Choice
Answer:
arrow
A method's name and a list of argument types together are its ____.
Multiple Choice
Answer:
arrow
You cannot provide parameters to a destructor;it must have an empty parameter list.
True False
Answer:
arrow
If a constructor requires arguments,it is a ____ constructor.
Multiple Choice
Answer:
arrow
When properly used,inheritance always involves a ____ relationship.
Multiple Choice
Answer:
arrow
By using standard component classes,programmers are assured that the GUI components in their programs have the same look and feel as those in other programs.
True False
Answer:
arrow
When using existing objects,you need to concentrate only on the interface to those objects,not on the internal instructions that make them work.
True False
Answer:
arrow
In OOP languages,a default constructor is created automatically by the compiler for every class you write.
True False
Answer:
Showing 1 - 20 of 60