How OOPS concept is achieved in Java?
Answer Posted / james
1) Encapsulation:- is achieved through
classes.(Binding/Storing data and methods as a single unit )
2) Abstraction:-it is achieved through private, protected,
public, default keywords.
3)Inheritance through interfaces.
4)polymorphism is achieved through method overloading and
constructor overloading.
5)Message Passing -through objects calling
| Is This Answer Correct ? | 30 Yes | 6 No |
Post New Answer View All Answers
How will you call an Applet using Java Script Function?
What is tree in java?
Explain the meaning of java applet.
What is boolean keyword in java?
What is the point of polymorphism java?
What is the static keyword?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is java used for on a computer?
Can we overload final method in java?
What are inbuilt functions in java?
What is meant by oops concept in java?
What is the difference between an inner class and a sub-class?
what is predefined function in java?
What is the differences between c++ and java? Explain
What is unmodifiable list in java?