kinslou278 kinslou278
  • 20-08-2019
  • Computers and Technology
contestada

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

Respuesta :

Cetacea
Cetacea Cetacea
  • 26-08-2019

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).

Answer Link

Otras preguntas

On the coordinate plane below, quadrilaterals TRAP and HELP are similar to each other. Which of the following options best describes the relationship of the ar
What is the volume of the cone with radius 6 in. and height 10 in.? Express the answer in terms of π.
The regular admission price...
Which statement about a system of linear equations is incorrect? A) A system can be solved by using the graphical method. B) A system always has a unique soluti
9 steps of a line segmentwhat are the nine steps of a line segment ​
To win a game you need at least 45 points.Each question is worth 3 points.Write and solve an inequality that represents the number of questions you need to answ
Which quadratic equation is equal to (x+2)^2+5(x+2)-6=0
Which graph represents the function h(x) = –(x + 6)3 – 3?​
conflict of interest definition​
The center of the Milky Way most likely contains A. empty space. B. a red giant star. C. a globular cluster. D. a supermassive black hole.