Question: What is missing to print the number 6 ? enum class Player ( var power : Int ) { SAMUS _ ARAN ( 6 )

What is missing to print the number 6?
enum
class
Player
(
var
power
:
Int
)
{
SAMUS_ARAN
(
6
),
BOWSER
(
8
),
LINK
(
5
)
}
fun
main
()
{
println
(
_____
)
}
Question 16 options:
SAMUS_ARAN.power
Player.SAMUS_ARAN.value
Player.SAMUS_ARAN.power
Player.SAMUS_ARAN

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!