difference between overloading and overridding
Answers were Sorted based on User's Feedback
Answer / priyanka agrawal
In overloading functions will have same name but different
parameters lists but in overloading functions must have
same name and same signature.
Is This Answer Correct ? | 1 Yes | 4 No |
what is ltti
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
What are the two different types of polymorphism?
What makes a language oop?
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.
write a c++ code of diagonal matrix.
What is encapsulation in oop?
What is destructor give example?
what is the use of mutable key word
What are main features of oop?
Why is encapsulation used?