--%>

Differentiate overriding and overloading method

Differentiate overriding and overloading method?

E

Expert

Verified

Overriding involves the formation of more than two methods through similar name and similar signature in dissimilar classes. One of them must be a child class and other must be parent class.

Overloading is use the method at different places through similar name and dissimilar signatures inside the similar class.

   Related Questions in Programming Languages

  • Q : Explain Look-and-feel Look-and-feel :

    Look-and-feel: The visual impression and interaction style given by a user interface. This is mainly the responsibility of the window manager (that is, in collaboration with the fundamental operating system) running on a specific computer. This refers

  • Q : What is Bit manipulation operator Bit

    Bit manipulation operator: Operators, like &, | and ^, which are employed to examine and manipulate individual bits win the bytes of a data item. The shift operators, <<, >> and >>>, are too bit manipulation operators.

  • Q : Define Property Specifications Property

    Property Specifications: Users can specify assertions using the assert(expr) statements. An assert statement is used to check if the property specified by the expression expr is valid within a state. If expr evaluates to 0, this implies that it is not

  • Q : Define Java Archive file Java Archive

    Java Archive file: It is a Java Archive (JAR) file which makes it possible to store multiple bytecode files within a single file.

  • Q : CORBA In what respects did CORBA seek

    In what respects did CORBA seek to improve on technologies such as SunRPC?

  • Q : Explain Primitive Type Abstractions

    Primitive Type Abstractions: An effective way to reduce the state space of a program is to replace the primitive types with the corresponding abstractions that encapsulate all the possible operations that are performed on these types.

    Q : Explain Return statement Return

    Return statement: It is a statement employed to terminate the execution of the method. The method with void return type might only have return statements of the form as: return;

  • Q : Choices in the Choice Activity Normal 0

    Normal 0 false false

  • Q : Explain in process verses out of

    Explain in process verses out of process component.

  • Q : Use of Macros used in windows-dot-h

    What is the use of Macros used in <windows.h> header files?