what is costructor?
Answer / dipraj shahane
Constructor is special member function of class which having
same name as Class name and no return type. Main function of
Constructor is to initialize (give default values to member
variable of class object) object. Constructor gets invoke
when you create new object by following syntax.
ClassName objectName = new ClassName();
| Is This Answer Correct ? | 22 Yes | 0 No |
Where You Can Use Interface in your Project
WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET
what is oppes
write string class as your own class in java without using any built-in function
What is conditional Compilation?
what is Class in oops with example?
Name an advantage of linked list over array?
How is exception handling carried out in c++?
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
What makes a language oop?
What is the difference between an object and a class?
What is object in oops?