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

What is finally block?

567


When do you get classcastexception?

558


What is difference between wait and notify in java?

548


Which variables are stored in heap?

543


What is the difference between numeric and integer?

514






Write a program to find the whether a number is an Armstrong number or not?

576


What is java ceil?

573


What is the purpose of methodology?

641


What is the purpose of format function?

629


Can we use return in constructor?

497


What is a condition in programming?

561


Explain inheritance in java?

558


What is the difference between the font and fontmetrics classes in java programming?

508


What is string in java is it a data type?

539


How does multithreading take place on a computer with a single cpu in java programming?

536