This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes can we using syntax of jdk1.4 in jdk1.5 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "can we using syntax of jdk1.4 in jdk1.5 ?" Watch "can we using syntax of jdk1.4 in jdk1.5 ?" New topic

can we using syntax of jdk1.4 in jdk1.5 ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 457
hi, good day, if i code in style and syntax of jdk1.4, is it possible it can run in jdk1.5 ? any limitation on compatibility between 2 version?
thanks for guidance
Surendra Kumar
Ranch Hand

Joined: Jul 04, 2006
Posts: 236
Yes, you can do that.
1.5 is compatible with 1.4.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
However, you may get some warning messages, especially related to Collections. But these warnings can be suppressed by suitable use of special Annotations.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: can we using syntax of jdk1.4 in jdk1.5 ?
It's not a secret anymore!