can we have virtual functions in java?
Answers were Sorted based on User's Feedback
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 |
What is casting?
I/O blocking means?
Why cant we define System.out.println() inside a class directly?
why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7.inheritance)
Is array size fixed in java?
What is externalizable?
how many types of cloning?
What is the java idl system?
Compare overloading and overriding?
What is bigger kb or mb?
Is binary a low level language?
How to find the length and capacity of a string buffer ?