Answer Posted / krishna
First of all that I would like to tell u that there is no keyword like virtual in Java. and all the guys are saying that all methods are virtual in Java. But it is not true.
While we try to override private methods then it is not override. this shows all the methods are not virtual in Java.
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
Does java allow overriding static methods ?
What is meant by flickering?
What is contract between hashcode and equal method?
What are the different ways of implementing thread? Which one is more advantageous?
What do you understand by an io stream?
Is char a data type in java?
What is a function in programming?
make a method which any number and any type of argument and print sum of that arguments.....
When to use runnable interface vs thread class in java?
What is purpose of keyword void?
Can a source file contain more than one class declaration?
What is an interface in java? Explain
What are the two environment variables that must be set in order to run any java programs?
What is a for loop in java?
How do you reverse a word in java?