Java Basic Mcq Questions and Answers
37. |
Inheritance |
|
- A. Enables to add additional features to an existing class without modifying it
- B. Supports the concept of hierarchical classifications
- C. Is a process by which objects of one class acquire the properties of objects of another class
- D. All of these
|
38. |
Java |
|
- A. Is a simplified version of C++
- B. Does not support multithreaded programs
- C. Is a dynamic language
- D. All of these
|
39. |
The operator 1 is |
|
- A. Logical AND
- B. Logical OR
- C. Equality
- D. One’s complement
|
40. |
Which of the following statement is/are correct? |
|
- A. A thread is a simple flow of control
- B. Every program will have at least one thread
- C. The ability to execute several programs simultaneously, is called multithreading
- D. All of these
|