Can substring create new object?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

0 Answers  


I want to persist data of objects for later use. What is the best approach to do so?

0 Answers  


What is multi level inheritance in java?

0 Answers  


relation between list and linked list

1 Answers   Infosys,


What is the new line character?

0 Answers  






What are the different conditional statements?

0 Answers  


What does snprintf return?

0 Answers  


What is consumer in java?

0 Answers  


If a method is declared as protected, where may the method be accessed in java programming?

0 Answers  


How do weakhashmap works?

0 Answers  


Can an object be null?

0 Answers  


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

5 Answers  


Categories