what is singlton class?where it is use in real time senario.
Answer / asishbls
A java class is said to be a singleton class if it creates
only one instance per jvm.
It is used generally in utill class.
| Is This Answer Correct ? | 11 Yes | 1 No |
Why pass by reference is not possible in java?
. Define Copy Constructor in Java
can we create a instance for intwerface?
What is the finalize method do?
What is the common usage of serialization? What exceptions occur during serialization?
How do you include a string in java?
What is regex in java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Can you access the private method from outside the class?
Is there is any error if you have multiple main methods in the same class?
What is codebase?