What is a local class in java?
No Answer is Posted For this Question
Be the First to Post Answer
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.
When do we need to use internal iteration? When do we need to use external iteration?
What is final, finally, finalize?
Why should we create an object? what is a need of it? Apart from access members of a class i want what is a need of object what does it contain?? In normal class to access any member of thaht class we create object where as for static class we access its members using class name. what is a difference between them... thanks in advance.
What is a variable and constant?
what do you mean by stream pipelining in java 8? Explain
Explain the difference between arraylist and linkedlist in java?
Using callable statement how can you pass out parameters, explain with example?
how to call One constructor from another;
What do you understand by looping in java? Explain the different types of loops.
Why sleep()is in Thread and wait() in Object class? Why can't I have both in one class or vice versa?