Sail E0 Webinar
Question
When can you use traits?
Options:
A .  If the behaviour will not be reused, then make it a concrete class. Anyhow it is not a reusable behaviour
B .  In order to inherit from it in Java code, an abstract class can be used
C .  If efficiency is a priority then lean towards using a class
D .  All of the above
Answer: Option D





Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers