Can we execute java program without main method?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between throw and throws in java?
What is abstract class constructor called?
What is use of super keyword?
What are autoboxing and unboxing? When does it occur?
Explain with example the concept of constant variable in java.
What is adapter in java?
explain the concept of inheritance with an example?
hi to all. well can you please tell me that why String class is immutable? Thanks in advance.
what is difference between colection and collections?
25 Answers Amdocs, IBM, Infosys, Ipog Software, Polaris, Tech Mahindra,
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 the collection interface?
difference between java ,c#&java,c++