Answer Posted / mah
constructor is similar to a function.constructor name and
class name should be same.constructor donot return any value
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
In java, how we can disallow serialization of variables?
What is class variable java?
What is singleton class and how can we make a class singleton?
What is class and its types?
How can you make a class serializable in java?
What is the purpose class.forname method?
What data structures are used to perform recursion?
What is the meaning of I ++ in java?
Can we make main() thread as daemon?
What is difference between module and function?
Why vector is used in java?
What are predefined functions?
What is are packages?
What is the functionability stubs and skeletons?
How do you sort an array in java?