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
Difference between method overloading and method overriding in java ?
What is the constructor?
How will you communicate between two applets?
What does jenkins do?
What is the default access specifier for variables and methods of a class?
What is the difference between equals() and == in java?
What is the use of callablestatement?
Can abstract class have private constructor?
How do you check if a number is a perfect square?
What is a class reference?
What is the purpose of final keyword and when to use it?
Can we override private constructor in java?
List the features of java programming language.
If you do not want your class to be inherited by any other class. What would you do?
Write a code to create a trigger to call a stored procedure