explain oops concepts with examples?
Answer Posted / palivela sri durgaprasad
there are type of oops concepts are there
1.objects/ class
1.Encapsulation
3.Abstraction
4.Polymorphism
5.Inheritance
6.Message passing
7.Dynamic binding
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is member in java?
Can I extend singleton class in java?
If you do not want your class to be inherited by any other class. What would you do?
What are different types of arrays?
What is your platform’s default character encoding?
Can I use % with real numbers?
Difference between == and .equals() ?
Explain the use of sublass in a java program?
How to retrieve data from database in java using arraylist?
Can we catch more than one exception in a single catch block?
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
Why can we not override static method?
How to access arraylist elements in java?
How to perform merge sort in java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)