Differentiate between class and structure.
No Answer is Posted For this Question
Be the First to Post Answer
Can interface be private in java?
List the different types of classloaders in java.
what is aggregation in java?
What is a variable and constant?
Explain the importance of finally block in java?
Explain the usage of this with constructors?
What are the two ways of implementing multi-threading in java?
How do you insert a line break?
What is parameter tag and what is its use?
how system.out.println() works?
Java support what type of parameter passing ?
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;