a) Any class can instantiate objects of class A
b) Objects of class A can be instantiated only within the class where it is declared
c) Inherited class can instantiate objects of class A
d) classes within the same package as class A can instantiate objects of class A
Answer: b
Explanation: If we make any class constructor private, we cannot create the instance of that class from outside the class.
Related Posts
An ____________ consists of a search-key value and pointers to one or more records with that value as their search-key value.
Indices whose search key specifies an order different from the sequential order of the file are called ___________ indices.
In ordered indices the file containing the records is sequentially ordered, a ___________ is an index whose search key also defines the sequential order of the file.
An Oracle object type has two parts the _________ and__________?
A data dictionary is created when a __________ created.
An Oracle __________ is a set of tables and views that are used as a read-only reference about the database.
________ is the smallest unit of allocation in an Oracle database.
Join The Discussion