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.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) {
> -----------------------------------------------------------------------
>
>         -------------------------------------------------
> -------------------- To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] with a subject of "unsubscribe".
> Trouble? Contact [EMAIL PROTECTED]

--
Peter Johnson
[EMAIL PROTECTED]



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to