what is meant by string pooling?
Answers were Sorted based on User's Feedback
Answer / praveen
string is a variable...and collection of objectives
Is This Answer Correct ? | 2 Yes | 10 No |
Answer / ravikiran
string pooling is maintenance of pool of strings when ever
a String Object is created one instance will be saved on
stack and another instance will get saved on the pool.
Is This Answer Correct ? | 3 Yes | 33 No |
What do you mean by jjs in java8?
what should do when using multiple catch() block & what should never do for the same?
What is memory leak and how does java handle it?
What classes of exceptions may be caught by a catch clause in java programming?
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 modifiers are allowed for methods in an interface?
Can we have 2 main methods in java class?
how we can create packages in java?
What is java objectoutputstream?
What are different types of expressions?
What's the difference between an abstract class and interface in java?
Explain the differences between static and dynamic variables?