Home / MCQ Bank / Computer
Computer Interfaces And Abstract Classes

In Java, can an abstract class have constructors?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • Yes, an abstract class can have constructors

Related Computer Questions

Which of the following is used for specifying character class with metacharacter? Which function sets the file filename's last-modified and last-accessed times? You are given a knapsack that can carry a maximum weight of 60. There are 4 items with weights {20, 30, 40, 70} and values {70, 80, 90, 200}. What is the maximum value of the items you can carry using the knapsack? Which pre-defined function returns a pointer to the last occurence of a character in a string? What is the keyword used to create an instance of a class in C#?