Ask Question

An enumeration inherits methods from which of the following classes? a. java. lang. Object b. java. lang. Enum c. both a and b d. neither a nor b

+3
Answers (1)
  1. 2 July, 22:41
    0
    Answer:c) both a and b

    Explanation: java. lang. Enum class is the class having the enumeration feature and having base class as common. It indulges in the inheritance feature from the java. lang. Object and has the feature of supporting the other class object ... The inheritance of the object from the object class to the enumeration class takes place. Therefore, the correct answer is option (c).
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “An enumeration inherits methods from which of the following classes? a. java. lang. Object b. java. lang. Enum c. both a and b d. neither 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