☕
Java
CtrlK
  • Hello World
  • IntelliJ IDEA
  • if-else statement
  • arithmetic expression
  • primitive types
  • primitive type range
  • Type casting
  • Char
  • String
  • Operators
  • Array
  • Switch
  • Prime Number
  • Continue vs Break
  • Inputs
  • OOP
  • Inheritance
  • Composition
  • Encapsulation
  • Polymorphism
  • Override vs Overloading
  • Random
  • Array assign
  • ArrayList
  • data-structures
  • Interface
  • Inner class
  • Abstract
  • Resources
Powered by GitBook
On this page

Override vs Overloading

overloading method has same name and different arguments

override child class same name and same argument method to replace parent class.

PreviousPolymorphismNextRandom

Last updated 2 years ago