dcsimg
Hi, !_NEWLINE_!!_NEWLINE_!I am new to this field & i got this warn...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Roopa_Madargi
Posted On:   Thursday, February 1, 2001 03:07 PM

Hi,

I am new to this field & i got this warning,

The constructor invoked to create java.util.Date with arguments(java.lang.String) is deprecated.

I don't understand this. Could somebody explain?

Thanks,
Roopa

Re: Hi, !_NEWLINE_!!_NEWLINE_!I am new to this field & i got this warn...

Posted By:   Ravi_Jayagopal  
Posted On:   Saturday, April 7, 2001 02:48 PM

This means that in the current version of the JDK, the particular constructor you are using //..= new Date()// is outdated (deprecated in Java jargon) - meaning, it is no longer supported in the current version, and was supported only in some older version.



That is a warning to stop using that constructor. Download and use the latest JDK documentation/API.



Earlier, Date used to have many different types of constructors. Most of them are deprecated now (you need to use either 'Calendar' or 'DateFormat' classes).



- Ravi

BabyNamesIndia.com

About | Sitemap | Contact