In the below example, how many string objects are created?
No Answer is Posted For this Question
Be the First to Post Answer
In the below example, what will be the output?
what are the application of compiler and interpreter for source program
Is java hashset ordered?
What is immutable class in java?
What is default size of arraylist in java?
What is treeset and treemap in java?
Name the runtime exceptions that occurs frequently?
what is a working thread? : Java thread
what is object deep copy and shallow copy and why it is required?
Advantages of Inheritance in java.
What is substring in java?
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;