can we have virtual functions in java?

Answer Posted / abdul nasir

virtual functions are present in java. but there is no need to write virtual with methods because it is built-in in java. you can override and call with their respective class objects and references directly........... :) b hapy dont confuse. programer is here.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can constructor chaining be done using this keyword?

935


Can we clone singleton object?

812


Does java allow overriding static methods ?

842


What is a singleton puppy?

740


What is thread safe singleton?

722


What is a local class in java?

798


How do you bind variables?

773


Is oracle java 11 free?

708


How many types of assembly languages are there?

731


What is a method vs function?

757


Is a method a procedure?

776


What is console based application in java?

792


Why synchronization is important in java?

792


What are the two ways of implementing multi-threading in java?

1157


What is covariant return type?

862