Answer in brief(within two lines):
i)If a method defined in a subclass has the same signature as a method in its
superclass with the
same return type, is the method overridden or overloaded?
ii)How do you invoke an overridden superclass method from a subclass?
iii)What is the purpose of "this" keyword?
iv)Differentiate between following statements:
int a=3;
Integer b=new Integer(3);
v)Which java keyword is used to prevent inheritance (prevent class to be
extended)?
vi)Can we create reference of interface. If we can create, then what is the
use of it?
vii)What is the difference between a String in Java and String in C/C++?