Why pass by reference is not possible in java?
What are blocks?.
What is stack example?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
what is AWT
What is the difference between char and char *?
Why java is a platform independent? Explain
What is java virtual machine? Explain
What occurs when an object is constructed?
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;
Can you use this() and super() both in a constructor?
What does regex mean?