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

Explain the difference between complementary colors and analogous colors.
3O2(g) 2O3(g); Keq = 1 Which equation compares the concentration of oxygen and ozone? [O2]3 = [O3]2 [O2] = [O3] [O2] = [O3]3/2 [O2]2 = [O3]3
2. If the surface area of a cell that is shaped l i ke a cube i ncreases 100 ti mes, i ts vol ume i ncreases about
The starches and sugars found in food are ?
Which of the following phrases have parallel meanings? a. Appearances are deceptive. b. As you sow, so shall you reap. c. Every picture tells a story. d. Famili
what is 32/72 in simplest form
I need to know how to do number 22-- both A and B.
Samantha has $600 saved for a trip.She buys an airline ticket for $120 and reserves a hotel room for $55 each night for 4 nights.If Samantha's trip lasts for 5
Mt. rushmore is located where?
What does it mean to simplify the equation?