Under what circumstances an object reference be cast to an
interface reference?
Answer Posted / debapriya maity
Exactly whenever ur entity passed the IS-A Test ,
A is B :)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a static class in java?
How do you add an element to a hashset in java?
What is prime number in java?
Is a case study a method or methodology?
Can we restart a thread already started in java?
How can we run a java program without making any object?
Can we extend singleton class in java?
Explain the available thread states in a high-level?
What are the main differences between notify and notifyAll in Java?
Why there is no call by reference in java?
What are the different access modifiers available in java?
What is a key in java?
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
How does class forname work in java?
How to stop a thread in java? Explain about sleep () method in a thread?