Difference between overloading and Overriding in Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    Difference between overloading and Overriding in Java

    Overloading is a part of concept Polymorphism in which the name of the function is sane but it has different arguments. In Overloading no inheritance is mandatory.
    Overriding Is also a part of Polymorphism in which the name of the function and arguments both are same means same signature. In overriding inheritance is mandatory.
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎