Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 25th, 2007, 10:50 AM
George2 George2 is offline
Contributing User
Click here for more information.
 
Join Date: May 2006
Posts: 707 George2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 m 25 sec
Reputation Power: 3
@override?

Hello everyone,


I am using JDK 1.4 and there is a compiling a 3rd party program error because of un-recognized word @override. Could anyone let me know what is the function of @override and in order to use it, which version of JDK is required?


thanks in advance,
George

Reply With Quote
  #2  
Old August 11th, 2007, 05:31 AM
Icon's Avatar
Icon Icon is offline
Command Line Warrior
Click here for more information. Click here for more information
 
Join Date: Sep 2005
Posts: 734 Icon User rank is Private First Class (20 - 50 Reputation Level)Icon User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 3 Days 11 h 57 m 2 sec
Reputation Power: 4
If I remember correctly annotations were added in jdk 1.5 (or 5.0 whatever). Quote: the @Override annotation informs the compiler that the element is meant to override an element declared in a superclass. (http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html)

But (again if i remember correctly), you may be able to remove the annotation and compile without any problem. Although you'll probably run into other jdk 1.5 related new stuff..

Good luck
__________________
Current project: roborally

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > @override?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT