how an we achive multiple inhetitance in java using
interface..??
Answer Posted / sudhir
ya,use interface make 2nd class interface and use
implements keyword for inheritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain all java features with real time examples
Why collection doesn’t extend cloneable and serializable interfaces?
What happens when a thrown exception is not handled?
Differentiate between array list and vector in java.
What super () does in java?
What is a Hash Table? What are the advantages of using a hash table?
What is tree 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
What is classpath?
Which is a valid identifier?
What are the new features in java 8?
Is it possible to specify multiple jndi names when deploying an ejb?
What does \ mean in regex?
What is the super void?
What is regex used for?