What are the advantages of packages in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of static methods and static variables?
give an example for encapsulation?
What is an Applet ?
What is jpa specification?
Is class is a data type?
Can we clone singleton class in java?
What is the structure of java?
Can Applet have constructors?
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 more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?
What data type is a string?
Can arraylist hold different types java?