can we have virtual functions in java?

Answer Posted / magan

By default all the methods are virtual functions in java.
So there is no need of virtual functions.

Is This Answer Correct ?    57 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string args [] in java?

535


What is api data?

529


What is communist flag?

563


What does I ++ mean?

597


How to make a read-only class in java?

587






Can a string be null?

538


Can we sort hashmap in java?

524


What are the loops in java?

516


Can a class extends itself in java?

527


What is the hashcode () and equals () used for?

531


Explain the difference between string, stringbuffer and stringbuilder in java?

551


What is skeleton and stub? What is the purpose of those?

536


How to stop a thread in java? Explain about sleep () method in a thread?

576


What’s the difference between callable and runnable?

540


What do you know about the garbage collector in java?

566