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 |
Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?
Explain an algorithm to find depth of a binary tree.
0 Answers Akamai Technologies,
When we serialize an object does the serialization mechanism saves its references too?
Difference between string s= new string (); and string s = "abv";?
Who developed JScript language?
Write a program to print fibonacci series
What is the difference between JDK and JVM?
Explain about version control?
what is the use of clone() in real time scenario?
what is use of functional interface in java 8?
What is the char data type?
what is auto boxing