Ask Question

1. Which of the following class definitions defines a legal abstract class? a. class A { abstract void unfinished () { } }b. class A { abstract void unfinished (); }c. abstract class A { abstract void unfinished (); }d. public class abstract A { abstract void unfinished (); }

+4
Answers (1)
  1. 29 May, 02:33
    0
    Answer: (c) abstract class A { abstract void unfinished (); }

    Explanation:

    A legal abstract class must have the keyword abstract before the class and an abstract class has abstract functions with the keyword abstract written and a void as the return type.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “1. Which of the following class definitions defines a legal abstract class? a. class A { abstract void unfinished () { } }b. class A { ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers