What are virtual functions?
Answers were Sorted based on User's Feedback
Answer / satendra
In OOP, virtual methods are those methods which can be
overridden within an inheriting class by a function with the
same signature. This concept is a very important part of the
polymorphism portion of OOP. In JAVA by default all methods
are virtual.
| Is This Answer Correct ? | 19 Yes | 3 No |
Functions which are called at runtime are called virtual
functions.
| Is This Answer Correct ? | 8 Yes | 7 No |
What is the length of a string?
Which of the following is not an isolation level in the JDBC
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What is garbage collection in Java, and how can it be used ?
32 Answers Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,
What is meant by tab pans?
What is proper subset?
How do you compare values in java?
What is lazy activation?
What are the different http methods?
What does system.gc() and runtime.gc() methods do?
What is an immutable class? How to create an immutable class?
What is garbage collection? Can it be forced to run?