In a pure object-oriented language, it is ____ not to use object-oriented features throughout a program.

A. easy
B. difficult
C. impossible
D. possible


Answer: C

Computer Science & Information Technology

You might also like to view...

Describe how mkstemp(3) is able to create and open a new ?le (one that doesn’t yet exist) without creating a timing window that allows another process to create the ?le between the time that mkstemp decides on a name and the time that it creates the ?le.

What will be an ideal response?

Computer Science & Information Technology

Process A issues its send operation prior to process B issues its receive operation.

Process A sends a single message to process B using connectionless IPC. To do so, A issues a send operation (specifying the message as argument) sometime during its execution, and B issues a receive operation. Suppose the send operation is blocking and the receive operation is non-blocking. Draw an event diagram (not sequence diagram) for each of the following scenario:

Computer Science & Information Technology

What is the output of running class C?

``` class A { public A() { System.out.println( "The default constructor of A is invoked"); } } class B extends A { public B() { System.out.println( "The default constructor of B is invoked"); } } public class C { public static void main(String[] args) { B b = new B(); } } ``` a. Nothing displayed b. "The default constructor of B is invoked" c. "The default constructor of A is invoked" followded by "The default constructor of B is invoked" d. "The default constructor of B is invoked" followed by "The default constructor of A is invoked" e. "The default constructor of A is invoked"

Computer Science & Information Technology

You work on objects such as tables, forms, and reports in the Access _________________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology