Sign Up

Continue with Facebook
Continue with Google
or use

Have an account? Sign In Now

Sign In

Continue with Facebook
Continue with Google
or use

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Ansfind

Ansfind Logo Ansfind Logo Ansfind Logo Ansfind Logo
Add question

Ansfind Navigation

  • About Us
  • Groups
    • Add group
Search
Add Question

Mobile menu

Close
Ask a Question
  • Home
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Hot Questions
  • Polls
  • Tags
  • Points
  • Users
  • FAQs
  • Help
  • Contact Us
Home/ Questions/Q 10363
In Process
Anonymous
Anonymous
Asked: September 30, 20212021-09-30T08:37:53+05:30 2021-09-30T08:37:53+05:30In: Coding

What are the four basic principles of OOPS?

What are the four basic principles of OOPS?

oop
  • 1
  • 11
  • 43
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp
Answer

    Related Questions

    • What is Approachwired?
    • How do you compare strings in java?
    • what will be the output of the following statement?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Salomi
      2021-09-30T08:39:10+05:30Added an answer on September 30, 2021 at 8:39 am

      Object Oriented programming (OOP) is a programming paradigm that provides computer software developers and programmers with the means of developing code to make the most effective use of OOPS. OOPs has developed from OO, which focuses on data and OO, which focuses on behavior. The four basic principles in OOP are: Abstraction, Encapsulation, Inheritance and Polymorphism. Abstraction is used when an abstraction is created for a group of OOP objects that share a general purpose.

      Abstraction: OOPs use abstraction when they create an abstraction for a group of OOPS objects that share a general purpose.

      Encapsulation: OOPs encapsulate the data and behavior into their OOPS objects in order to provide technical protection against unauthorized access or changes.

      Inheritance : Objects are created by class hierarchies where inheritance allows OO programmers to take advantage of properties, behaviors, etc., which have been implemented before them.

      Polymorphism: is used when OOP offers different implementations for each method in its protocol definition while providing only one common interface specification through which all clients interact with it. This enables polymorphic behavior over multiple types of classes without having to bind together both type specific code and client specific code within individual OOPS objects. OOPs uses polymorphism to allow OO programs to work together as a unit by using different OOPS classes that implement the same interface specification without needing specific knowledge of each other.

      • 1
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Choose from here the video type.

    Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

    Sidebar

    Top Users

    Weboptify

    Weboptify

    • 3,510 Points
    Wish Lay

    Wish Lay

    • 2,470 Points
    SaRa

    SaRa

    • 2,459 Points
    Professor

    Adv 250x250

    • About Us
    • Home
    • Communities
    • Polls
    • Tags
    • Points
    • Users
    • Help
    • Contact Us
    • Referrals
    • Policies
      • Privacy policy
      • Terms of use
    Revenue

    © 2022 Ansfind. | Designed by Weboptify

    monetization_on Earn category Spaces home Home emoji_events Points
    search Search
    help Add

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.