Question :How can u avoid the conflict between java.util.Date and
java.sql.Date? (JavaUtil)
Answer :If your code has to use both java.util.Date and java.sql.Date in the same
class,
Depending on number of times you are using these classes you can import
any one of the
package. e.g. Assume you are using java.util.Date for 5 times in your code
and you are
using java.sql.Date only for one time then import java.util.* and for using
java.sql.Date
use java.sql.Date sDate = new java.sql.Date();
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
How can u avoid the conflict between java.util.Date and
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment