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 |
What does and I oop mean?
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku
Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?
What is methods in oop?
program for insertion ,deletion,sorting in double link list
What is abstraction in oop with example?
Difference between realloc() and free?
what is different between oops and c++
Should you protect the global data in threads? Why or why not?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
1. Define a class.
What is overriding in oop?