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 a protected class in java?

776


Difference between object instantiation and construction ?

827


Can we have 2 main methods in java class?

764


Is a method a procedure?

787


what is recursion in java

824


What is meant by polymorphism?

788


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

786


List down the methods and interfaces of collection class in java.

773


What is size of int in java?

812


What is <> used for in java?

865


What are the types of literals?

816


Should database connections be singleton?

778


Is final static java?

781


Is java jre still free?

733


Explain about core java?

874