What are the two environment variables that must be set in order to run any java programs?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the term virtual machine?
What is a ternary operator in java? What is an interface?
What will happen if we cannot mention "finally" in Java Program ???
List some important features of java 10 release?
What are different types of encoding?
What is the difference between synchronized and synchronized block?
Explain the importance of thread scheduler in java?
Write the algorithm to check the number non-leaf nodes in a tree.
What flag up means?
What is not object oriented programming?
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;
What is mean by collections in java?