Answer Posted / diya
constructor is a special function whose task is to
initialise the object.the name of the constructor is as
same as the class.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many digits can a float hold?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Which is faster call by value or call by reference?
Describe method overriding
Explain about wait() method?
Why does java not support operator overloading?
What access modifiers can be used for methods?
What is a package in java? List down various advantages of packages.
Can a class have multiple superclasses?
What are alternatives to java serialization?
How do you format in java?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
What is the use of arraylist in java?
how to create multithreaded program? : Java thread
What is a class reference?