What is the is a and has a relation ship in oops concept in
java?
Answer Posted / yogeshwar
is a
Relationship between a Class and its object.
Eg.
Class Car { ... }
Car maruti800=new Car();
here maruti800 is a car.
Relationship between Car and maruti800 ==> is a
the Person and Address is a suitable example for has a
| Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
What is illegal identifier in java?
Can we have two main methods in a java class?
What is the main purpose of java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What are features of java?
Why is java logo a cup of coffee?
What is data type in java?
Explain the difference between abstract classes and interfaces in java?
Which class is the superclass for every class in java programming?
Can you tell me range of byte?
What is difference between path and classpath variables?
What does it mean that a class or member is final?
Why do we use threads in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
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