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 difference between Error, defect,fault, failure and mistake?

873


what is a green thread? : Java thread

791


How java is similar to c?

797


Write a program to check for a prime number in java?

786


What is meant by oops concept in java?

736


What is the file extension for java?

844


What are the advantages of assembly language?

698


What is mysql driver class name?

811


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

777


How do I remove a character from a string in java?

716


Is 0 an irrational number?

813


How do you create a sop?

734


How do you use nextline in java?

698


What is java dot?

707


What are the advantages of java?

752