can u people help me out this problem pls
I came across very differemt problem.
I import two packages
import java.util.*;
import java.sql.*;
both the packages are required for my program and in both pakages, there is definition of date class. Now I am making an instance of date class the following error is displayed on compiling the program:
punch_server.java:94: reference to Date is ambiguous, both class java.util.Date
in java.util and class java.sql.Date in java.sql match
Date dd = new Date();
^
punch_server.java:94: reference to Date is ambiguous, both class java.util.Date
in java.util and class java.sql.Date in java.sql match
Date dd = new Date();
^

