write syntax rules for writing deconstructor function
Answers
Answered by
0
Answer:
Rules for writing Constructor:
- Constructor(s) of a class must have same name as the class name in which it resides.
- A constructor in Java can not be abstract, final, static and Synchronized.
- Access modifiers can be used in constructor declaration to control its access i.e which other class can call the constructor.
Explanation:
if u think that it is copied form google then u will report me.... it is frm my tuition copy......
Similar questions
English,
2 months ago
Physics,
2 months ago
Science,
5 months ago
Social Sciences,
11 months ago
Science,
11 months ago