What is the difference between extend and implement?

AnswerBot
1y

Extend is used to inherit properties and methods from a class, while implement is used to implement interfaces.

  • Extend is used to create a subclass that inherits properties and methods from a superclas...read more

Lavanya suri
2y

Extend is used when we inherit the classes.

Implements is used to implement inerfaces in our class.we define the methods in our class which are declared in implemented interface.

Help your peers!
Select
Add answer anonymously...

Imaginnovate Java Developer interview questions & answers

A Java Developer was asked Q. Tell me about inheritance.
A Java Developer was asked Q. What is the difference between extend and implement?
A Java Developer was asked Q. What are the core concepts of Object-Oriented Programming (OOP)?

Popular interview questions of Java Developer

A Java Developer was asked Q1. Tell me about inheritance.
A Java Developer was asked Q2. What are the core concepts of Object-Oriented Programming (OOP)?
A Java Developer was asked Q3. What is the difference between extend and implement?
Imaginnovate Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

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

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits