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!
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?
Stay ahead in your career. Get AmbitionBox app


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
AmbitionBox Awards
Get AmbitionBox app

