MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your ITC knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following access modifiers are not supported by Java? |
| A. | private |
| B. | protected |
| C. | abstract |
| D. | No-access modifiers |
| Answer» D. No-access modifiers | |
| 2. |
Which of the following is feature of friend classes? |
| A. | If class A is a friend of class B, class B is not automatically a friend of class A. |
| B. | If class A is a friend of class B, and class B is a friend of class C, class A is not automatically a friend of class C |
| C. | None of these |
| D. | Both (a) and (b) |
| Answer» E. | |
| 3. |
Which of the following is a branch of polymorphism? |
| A. | Overloading |
| B. | Inheritance |
| C. | Encapsulation |
| D. | None of these |
| Answer» B. Inheritance | |
| 4. |
Which of the following is similar to constructor overloading? |
| A. | Operator overloading |
| B. | Destructor overloading |
| C. | Function overloading |
| D. | None of the above |
| Answer» D. None of the above | |