Lets take an exampleClass A{ public void clear(){ }}Class A{ public void clear(){ }}Class B extends A{ public void clear(){ }}Class C extends A{ public void clear(){ }}Now If multiple inhertence is al...
Error comes at compilation time, Exception comes at run time.
final keyword is used in three ways
final int i=10;
This represents i is constant we can't change the value of i;
If you used in front...
Iterator - Interface to iterate over collectionsEnumertion - Type of collecton of objectsException - Occurs when some logically wrong happens in program. Can be catchedError - Not in hands of develope...
Java.util.date is used to show date and time of the system
java.sql.date is used to show the date of retrieved data from database and also it shows entered date to database
NarendraKumar
Mar 6th, 2012
Explanation:
public class ((java.util.Date extends java.lang.Object)) implements java.io.Serializ
able,java.lang.Cloneable,java.lang.Comparable
java.sql.Date extends the java.uti.Date cls obj
so jav...