0
What is Initialize in constructor??
constructor is used to Initialize... so I m confused what Initialize is and whom to Initialize ???
2 Antworten
+ 7
instance variables are initialized in constructor.It has same name as class name and declared in public always and has no return type...
0
A constructor is what happens within the class once you declared the variable.
Initializing is like"creating" what if needed for the class to work