why java does compile time polymorphism at run time ?

Answer Posted / ali

in java all the non-static functions or instance functions are implicit virtual i.e an object is bound with their functionality at run time
so therefore in java their is no compile time polymorphism

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does java runtime require a license?

772


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

734


What do you mean by multithreaded program?

766


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

913


What is the difference between instanceof and isinstance?

759


Is array passed by reference in java?

794


What is default locale java?

791


What is the formula to calculate percentage?

748


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

736


Explain about main() method in java ?

798


What causes memory leak in java?

694


Does substring create a new object?

749


Why unicode is important?

678


Explain the features of java?

789


What is the purpose of using break in each case of switch statement?

773