Explain creating threads by extending thread class ?
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
What do you mean by Function Overloading in java?
What is type parameter in java?
Why are arrays useful in java?
Which of the following classes will have more memory allocated?
what is the diff between Servletcontext and servletconfig?
What is the difference between a constructor and a method?
Can you declare the main method as final?
What is empty string literal in java?
What are the types of collections in java?
Can we write multiple catch blocks under single try block?
Give an example of call be reference significance.