default constructor initializes organization name. ![]() Q) What is the need of this() constructor in overloading concept ?Įmployee class > Inside default constructorĮmployee class > Inside parametrized constructor this() constructor call, allows us to invoke one constructor from another constructor in same class.Till now, we have seen default and parametrized constructor, but how to invoke one constructor from another constructor in same class. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |