Answer Posted / mahesh
constructor is similar to a method.
*constructor name ,class name should be same
*constructor have a parameters
*does not return any value
*
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Are primitives objects?
Describe how to implement singleton design pattern in struts.
What is a byte string?
What is the preferred size of a component in java programming?
When should you use arraylist and when should you use linkedlist?
What is the use of coding?
What is a functional interface?
Why do we need wrapper classes?
What does exclamation mean in java?
String class is defined under which package in java?
How to convert string to byte array and vice versa?
What are the loops in java?
What is a ?
What is difference between class and object in java?
Explain access modifiers in java.