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 |
heavy components means what?
what models are available for event handling?
Why does abstract class have constructor?
How do you find the maximum number from an array without comparing and sorting?
Why singleton pattern is better than creating singleton class with static instance?
What is difference between wait and notify in java?
what do you mean by classloader in java?
Does a class inherit the constructor of its super class?if it does, how can you hide that constructor? if it doesnot how can you call it from the sub class?
What will happen if we write code like: try{}catch(exception e)catch(IOException i)
What is java lang string?
What is the difference between arraylist and hashset in java?
What is a superclass?