Answer Posted / niranjan ambati
By using "virtual" keyword infront of "implementation
methods" declarations in the class, polymorphisim can be
achieved. late binding(run time execution)
,Encapsulation(APIs), avoid ambiguity between multi
inheritance can be achieved thru polymorphisim.. Using
polymorphisim, the objects will call correct methods at run
time by using virtual pointer table.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism what are the different types of polymorphism?
What is oops in simple words?
Why do we use inheritance?
what is the drawback of classical methods in oops?
What is difference between polymorphism and inheritance?
can inline function declare in private part of class?
What is difference between oop and pop?
What are the three main types of variables?
Can a varargs method be overloaded?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is for loop and its syntax?
what are the different types of qualifier in java?
Get me an image implementation program.
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Can static class have constructor?