Answer Posted / vikram naidu
basically in java we have 2 types of classes. those are user
defined classes and pre defined classes. in both we can
differentiate the classes in 3 ways. those are interfaces,
abstract classes and concrete classes. Where we can't create
the objects for the abstract class and interfaces. by using
inheritance concept we can able to create the object of the
for the derived classes and assign those objects to the base
class references(according to OOP concept).
Thank you.
| Is This Answer Correct ? | 30 Yes | 2 No |
Post New Answer View All Answers
Java is pass by value or pass by reference? Explain
Can a class be private or protected in java?
What do you mean by stack?
What is difference between arraylist and list in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is variable explain?
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
State differences between C and Java?
What are the loops in java?
What is difference between string and new string?
what is use of functional interface in java 8?
What about member inner classes?
Is age a discrete variable?
What is the difference between abstract class and interface1? What is an interface?
What does java stand for?