HI Friends,
I wrote a class like as follows.
Class A() {
void add(String a,String b) {
System.out.println("add method with strings");
}
void add(Date d1,Date d2) {
System.out.println("add method with dates");
}
}
If I call above add method with parameter values as "null" like as follows, then what will be the output?
add(null,null);
It will throws any exception or displays any message?
please answer this .