can we have virtual functions in java?

Answers were Sorted based on User's Feedback



can we have virtual functions in java?..

Answer / jana

Virtual function means it doesnot contain any body.In C++
we have virtual functions.

In java also we have virtual functions.abstract methods is
nothing but virtual functions.

Jana

Is This Answer Correct ?    4 Yes 18 No

Post New Answer

More Core Java Interview Questions

What do you understand by copy constructor in java?

0 Answers  


What is covariant return type?

0 Answers  


Is zero a positive integer?

0 Answers  


How we can run a jar file through command prompt in java?

0 Answers  


What class is used to create Server side object?

1 Answers   TCS,


Explain different ways of passing arguments to sub-routine?

1 Answers  


Which is faster call by value or call by reference?

0 Answers  


What is the byte range?

0 Answers  


What does percent mean in java?

0 Answers  


How many bits are in a sentence?

0 Answers  


what is the use of declaring constructor as private?

5 Answers   Cyient, IVY Technologies, Sai Softech, Virtusa,


Does java have a compiler?

0 Answers  


Categories