Can we use string in switch case in java?
No Answer is Posted For this Question
Be the First to Post Answer
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 square root in java?
Why are strings immutable in Java?
How do you add an element to an arraylist in java?
What is an i/o filter?
Is ruby built on java?
Can java object be locked down for exclusive use by a given thread?
What is bytecode verifier?
Realized?
Where can I find data structures question and answers with comprehensive working code written in Java
What are checked exceptions?
Is it possible to write static method in abstract class? justyfy your answer?