How many decimal digits is 64 bit?
No Answer is Posted For this Question
Be the First to Post Answer
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
Can we have try block without catch block?
What are the drawbacks for singleton class?
In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?
What is data type in java?
Why java is considered as platform independent?
How does thread synchronization occurs inside a monitor?
Give an example of call be reference significance.
Explain throw keyword in java?
What is token in java?
Are nested try statements are possible?
Write a program based on Java script program.