MCQOPTIONS
Saved Bookmarks
| 1. |
What will be output for the folllowing code? |
| A. | Compilation error in Line 1(abstract method cannot be private) |
| B. | Compilation error in Line 2(abstract class cannot have concrete method) |
| C. | Compilation error in Line 3(abstract class cannot be extended) |
| D. | Compilation error in Line 4(deposit method should have public access modifier) |
| Answer» B. Compilation error in Line 2(abstract class cannot have concrete method) | |