can we have virtual functions in java?

Answer Posted / meera

virtual functions are abstract methods in java. by default
all the methods are abstract in interface.

Is This Answer Correct ?    60 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are the objects immutable in java?

743


What is join () in java?

727


What is parsing a sentence?

759


Can a static member function access member variable of an object?

765


What are synchronized methods ?

830


What are the java ide's? Explain

739


What is string pool?

822


Can we assign the reference to this variable?

732


What is empty string literal in java?

784


What steps are taken when the OS shifts from one-thread execution to another?

1125


Can you make a constructor final in Java?

850


Is final static java?

765


What is an example of a boolean?

791


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

799


Explain about interrupt() method of thread class ?

871