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
Explain the difference between an Interface and an Abstract class?
What is a percentage sign called?
What do you understand by synchronization?
How big is a 64 bit float?
Explain the pointers in Java?
How do you test a method for an exception using junit?
What is thread life cycle in java?
What are synchronized methods and synchronized statements in java programming?
What is a method header?
Does java map allow duplicates?
What is anagram of a string?
How do you declare a variable?
What are the java ide’s?
What is the full meaning of java?
How to find the index of the largest number in an arraylist java?