can we have virtual functions in java?

Answer Posted / mohan

In java all non static methods are virtual functions by
default.. so there is no need to explicitly specify the
virtual keyword..

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about map interface in java?

583


How do you find the independent variable?

505


What is the purpose of interface?

573


What are operators and its types?

567


What does system out println () do?

551






Can we convert list to set in java?

508


What are the 4 versions of java?

553


What is data object example?

525


Explain about instanceof operator in java?

601


What restrictions are placed on method overriding?

634


What is the list interface?

602


Which access specifier can be used with class ?

528


Can a static method be final?

548


How a variable is stored in memory?

495


Is it safe to install java on my computer?

532