State some situations where exceptions may arise in java?
No Answer is Posted For this Question
Be the First to Post Answer
Explain method local inner classes ?
Does .length start 0 java?
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.
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;
Inorder to specify a container?s layout, which method is used?
Can we write method inside a method in java?
What is the role of the java.rmi.naming class?
Difference between hashCode() & equals()?
Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?
What is string intern in java?
Explain different data types in Java.
What is floating data type?