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

What is the method to expand and collapse nodes in a jtree?

612


How java enabled high performance?

587


Explain the concept of hashtables?

619


Does substring create a new object?

530


How do you reverse a string in java?

586






I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1601


What is time complexity algorithm?

548


Difference between Preemptive scheduling vs. Time slicing?

575


What is argument in java?

540


Can we change the value of static variable?

502


What are design patterns and please explain?

575


How do you declare an array that will hold more than 64KB of data?

646


What is final keyword in java? Give an example.

578


What are the uses of synchronized keyword?

558


What is the main method java?

534