Quiz Discussion

Which of the following is not OOPS concept in Java?

Course Name: Java

  • 1]

    Inheritance

  • 2]

    Encapsulation

  • 3]

    Polymorphism

  • 4]

    Compilation

Solution
No Solution Present Yet

Top 5 Similar Quiz - Based On AI&ML

Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api

# Quiz
1
Discuss

What is it called where child object gets killed if parent object is killed?

  • 1]

    Aggregation

  • 2]

    Composition

  • 3]

    Encapsulation

  • 4]

    Association

Solution
2
Discuss

What is it called where object has its own lifecycle and child object cannot belong to another parent object?

  • 1]

    Aggregation

  • 2]

    Composition

  • 3]

    Encapsulation

  • 4]

    Association

Solution
3
Discuss

What is it called if an object has its own lifecycle and there is no owner?

  • 1]

    Aggregation

  • 2]

    Composition

  • 3]

    Encapsulation

  • 4]

    Association

Solution

An Association uses a relationship where all objects have their own lifecycle and no owner. This occurs where many-to-many relationships are available, instead of one-to-one or one-to-many.

# Quiz