adspace


What is @override annotation in java?

Answer Posted / Monark Batsa

The @Override annotation in Java is used to indicate that the current method is intended as a revision or replacement of a method declared in a superclass. It is used for maintaining the code readability and preventing unintentional method implementation.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What if I write static public void instead of public static void?

938


What is the java api?

999


what is reflection api? How are they implemented?

1106


What do you understand by casting in java language? What are the types of casting?

924


What is the locale class?

1027


What is the first argument of the string array in main method?

1031


What is the resourcebundle class?

1013


How does java handle integer overflows and underflows?

1116


Are jvm’s platform independent?

984


Can we extract main method from another class?

1035