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
What is a blocking method in Java?
Java is Pass by Value or Pass by Reference?
What are the differences between processes and threads?
can used Protected Class outside Function.?
Is char * a string?
What is prefix of a string?
What are keywords in programming?
What are the types of exceptions?
How do you remove duplicates in java?
Which is better stringbuffer or stringbuilder?
What are the actions that can occur when a thread enters blocked state?
What language is pass by reference?
What is the use of hashmap in java?
String class is defined under which package in java?
What is difference between path and classpath?