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 |
Why generics are used in java?
Why string is immutable with example?
What is final method in java?
solve this is my problem byte a=40,byte b=50 both add value is 90 this is with in range of byte... byte range is -128to 127.... why this pgm gives error like type mismatch.... package javapgms; public class byte1 { public static void main(String args[]) { byte a=40,b=50; byte c=a+b; System.out.println(c); } } note : dont use int k... a,b,c are in byte range... mind it..
How to find the largest value from the given array.
Explain about map interface in java?
Is set thread safe java?
How to solve the problem of generating the unique hash keys with hash function?
What are the different approaches to implement a function to generate a random number?
0 Answers Axtria, ITC Indian Tobacco Company,
Explain access modifiers in java.
without using arthematic operation ,how can you write the logic for adding/substraction/multiplication?
7 Answers Tanla Solutions, Wipro,
Which is better list or arraylist in java?