"±è¿µºÀ" 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, you should use the fully qualified class name (java.util.Date or java.sql.Date) to describe which one you want to use.

Nathan

Reply via email to