--- Nathan Meyers <[EMAIL PROTECTED]> wrote:
> "±è¿µºÀ" wrote:
>
> > [Image]Hi,
> >
> > I import java.util.* and java.sql.*;
> >
> > And I use Date class..
> >
> > At Compile time, error is.
> >
> > error is below.Can anybody help me.
> >
> > Ambiguous class: java.util.Date and java.sql.Date
> >
Depending on which one you actually want, declare either
private java.util.Date[] getAbsenceDate(String condition) {
or
private java.sql.Date[] getAbsenceDate(String condition) {
That is, use the fully qualified pathname to resolve the ambiguity.
"±è¿µºÀ" wrote:
> [Image]Hi,
>
> I import java.u
Depending on which one you actually want, declare either
private java.util.Date[] getAbsenceDate(String condition) {
or
private java.sql.Date[] getAbsenceDate(String condition) {
That is, use the fully qualified pathname to resolve the ambiguity.
"±è¿µºÀ" wrote:
> [Image]Hi,
>
> I import java.u
"±è¿µºÀ" wrote:
Hi,
I import java.util.* and java.sql.*;
And I use Date class..
At Compile time, error is.
error is below.Can anybody help me.
Ambiguous class: java.util.Date and java.sql.Date
private Date[] getAbsenceDate(String condition) {
Because you import two packages with a "Date" class, y