How OOPS concept is achieved in Java?
Answer Posted / ranjan
Encapsulation which is achieved by making classes.
Inheritance which is achieved by extending class and implementing interfaces.
polymorphism is achieved by function overriding and function overloading. Operator overloading is not allowed in java although implicitly string class uses + operator..
note : Abstraction is nothing its just showing functionality and hiding complexity
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How many bytes is a char in java?
How many types of voids are there?
What is the difference between serializable and externalizable interfaces?
Is alive and join method in java?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
What is the default value of float and double datatype in java?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is main in java?
If a variable is declared as private, where may the variable be accessed?
Explain the importance of throws keyword in java?
What is byte [] in java?
How do I convert a string to an int in java?
How do you bind variables?
Differentiate between a constructor and a method? Can we mark constructors final?
What is the purpose of the strictfp keyword?