• Post Reply Bookmark Topic Watch Topic
  • New Topic

Differences between two versions  RSS feed

 
Chatura Dilan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please provide me website - links which describe differences between two versions java 1.4 & 5?
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here.
 
Chatura Dilan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your post. It�s good and helped me. But I really need something like this
Example:



1.4 --> StackOverFlowExeption
1.5 --> Compilation fails

Sorry I couldn�t mention it. I don�t need the new features of java5, but I need old features which had been changed in java 5
 
S Thiyanesh
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both the constructors have a this() call which means there is no way for the compiler to insert the super() call to the Object constuctor.
So the program calls the constructors recursively and the stack overflows with the constructor calls.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see that this is related to the SCJP exam, so I'm moving to the Java in General (beginner) forum.
 
Chatura Dilan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
Actually, I�m learning for 1.4 exam, but I have K & B 1.5 book. Therefore I want to find differences between those two versions. Not the new features of java 1.5, but the old features which had been changed in java 1.5. Sometimes I am confused when I do questions as above.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!