CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - Get Success in Job Interviews Interview Success Kit - 30,000 Interview Que. & Ans.
Covers 30,000+ Interview Questions asked in actual MNC Interviews - all with model answers.
Get Your Dream Job Now - www.vyoms.com
Sponsored Links
Interview Questions
Our Services

INTERVIEW QUESTIONS J2EE JAVA DETAILS
Question :
What do mean by polymorphism, inheritance, encapsulation?
Category Java Interview Questions
Rating (4.0) By 5 users
Added on 10/13/2009
Views 1643
Rate it!
Answers:

Polymorhism: is a feature of OOPl that at run time depending upon the type of object the appropriate method is called.

Inheritance: is a feature of OOPL that represents the "is a" relationship between different objects(classes). Say in real life a manager is a employee. So in OOPL manger
class is inherited from the employee class.

Encapsulation: is a feature of OOPL that is used to hide the information.



Polymorhism: is a feature of one name multiple form.


Inheritance: is a feature of drving sub class from super class.


Encapsulation : is a feature of wrapping the data and function into single unit.




Posted by: Aravind

Contact Aravind Contact Aravind

Polymorphism: "Poly" means "Many", "morph" means "Form", is that "ability to take more than one form". One method for different operations.

Interitance: Acquiring the properties and behivour parent class to child class.

Encapsutaion: wrapping of data and methods into single unit.



Posted by: Raghavendra,V

Contact Raghavendra,V Contact Raghavendra,V

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer
    What do you mean by static methods?
    View Answer
    What do you mean by virtual methods?
    View Answer
    Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3
    and at freshman level.
    View Answer
    What are the disadvantages of using threads?
    View Answer
    Write the Java code to declare any constant (say gravitational constant) and to get its value.
    View Answer
    What do you mean by multiple inheritance in C++ ?
    View Answer
    Can you write Java code for declaration of multiple inheritance in Java ?
    View Answer
    What are the Object and Class classes used for?
    View Answer
    What is Serialization and deserialization?
    View Answer
    What interface must an object implement before it can be written to a stream as an object?
    View Answer
    What is the ResourceBundle class?
    View Answer
    What class allows you to read objects directly from a stream?
    View Answer
    How are this() and super() used with constructors?
    View Answer
    How is it possible for two String objects with identical values not to be equal under the == operator?
    View Answer
    How does multithreading take place on a computer with a single CPU?
    View Answer
    What restrictions are placed on method overloading?
    View Answer
    What restrictions are placed on method overriding?
    View Answer
    What happens when a thread cannot acquire a lock on an object?
    View Answer
    What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
    View Answer
    What classes of exceptions may be caught by a catch clause?
    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Java Interview Questions & Answers

    User Options
    Latest 20 Questions
    Give the meaning of the term debt- equity(D:E) ratio.
    What do you mean by financial risk?
    What is business risk?
    State the differences between operating and financial leverage.
    What is combined leverage?
    What is operating leverage?
    What is financial leverage?
    Name the types of leverages.
    What is the master way (table) for calculating the leverages?
    What are the types of tools that can read feeds?
    What is leverage?
    State the external factors affecting capital structure.
    How can I change my blog's name?
    How can I display my entries in full on the home page, without the "Continue reading" link?
    What are the internal factors affecting capital structure?
    How to creates tags automatically?
    Why are some fopen wrappers disabled?
    How to change the name that appears as my entries' signature?
    How to return to the default widgets?
    How to remove a widget?



    Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

    MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
    MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

    GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

    IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
    IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

    SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
    SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




    Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions



    Cache = 0 Seconds