A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Srinivasa Raghavan
Ranch Hand
Joined: Sep 28, 2004
Posts: 1228
posted
0
Please have a look at java docs..
This is from java docs. public int getYear()Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.YEAR) - 1900.
Returns a value that is the result of subtracting 1900 from the year that contains or begins with the instant in time represented by this Date object, as interpreted in the local time zone. [ December 30, 2005: Message edited by: Srinivasa Raghavan ]
Read the java docs when you're having a problem with a method in the API?! The illuminati have leaked a secret meant only for true believers! This is a banner day for the advanced forum