Can main method override?
No Answer is Posted For this Question
Be the First to Post Answer
What is an orthogonal base class?
What is destructor in oop?
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,
What are constructors in oop?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.
Explain virtual inheritance?
What is the difference between encapsulation and polymorphism?
What is stream in oop?
State what is encapsulation and friend function?
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
what is the diffrence between c# and c++