Everything related to Core Java. Concentrated mainly on OOPS concepts.be ready for tricky question on inheritance and polymorphism.

Galla Anusha
2y

1.Acquiring the properties of one class into another class.

If we want to achieve inheritance we need to use either extends or implements.

There are 5 types of inheritance in java.

*.Single inheritance.

*.multilevel inheritance.

*.Hyrarichal inheritance.

*.Hybrid inheritance.

*.multiple inheritance. In java multiple inheritance is not supported, but If we want achieve multiple inheritance we can do that by using interfaces.

2.It is a process of performing multiple tasks with the same time.

there are two types of polymorphisms are there.

1.Compiletime polymorphism.(Method overloading)

2.Runtime polymorphism.(Method overriding)

method overloading:Writting two are more methods with same class having same method name with different parameters.

Method Override:Writing two are more methods in two different classes having same method name ,same parameter,same return type.

Help your peers!
Select
Add answer anonymously...
UST Java Software Engineer 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