What is the purpose of final keyword and when to use it?
No Answer is Posted For this Question
Be the First to Post Answer
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
Why we go for collections in java?
what is different between static and non static methods ,using example
What is the blank final variable?
What is the difference between a switch statement and an if statement?
Should you use singleton pattern?
Where are global variables stored?
How can a gui component handle its own events?
What is procedure writing?
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.
Are registers volatile?
where lives in jvm