2. Difference between abstract method implementation and default method

AnswerBot
1y

Abstract method implementation is mandatory while default method is optional.

  • Abstract method has no implementation in the abstract class and must be implemented by the subclass.

  • Default method has a de...read more

shubham yadav21
2y

abstract methos is declare by is name keyword abstract and its concept of method overriding in which abstract method must be declared in super class and defined in is sub class.

defualt method is by m...read more

Help your peers!
Add answer anonymously...
HCLTech Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter