Advanced Topics in Programming Languages: Java Puzzlers,…
6 Responses to “Advanced Topics in Programming Languages: Java Puzzlers,…”Leave a ReplyPosted on October 8th, 2007 by admin Filed under Java | |
|
Advanced Topics in Programming Languages: Java Puzzlers,…
6 Responses to “Advanced Topics in Programming Languages: Java Puzzlers,…”Leave a ReplyPosted on October 8th, 2007 by admin Filed under Java | |
|
November 30th, 2007 at 4:02 pm
Very Very …
Very Very intresting pitfalls!
December 5th, 2007 at 8:03 pm
Where are the first …
Where are the first three episodes? someone please post a link or point me the direction
December 8th, 2007 at 5:53 pm
It seems silly that …
It seems silly that a Short of value 1 is not equal to an Integer of type 1.
I think this is pretty unintuitive feature - maybe they should have said ’screw backward compatibility’ to avoid it.
Nice vid though!
December 8th, 2007 at 5:58 pm
The second one is …
The second one is crazy as well - does the name resolution happen when URLs are constructed/specified, or truly during the equals() method? If so, that’s quite the WTF!, since equals is called very often when dealing with sets… this implies that adding a URL to a set containing 1,000,000 URLs already will cause all of them resolved which makes no sense.
December 9th, 2007 at 12:37 pm
distance=speed * …
distance=speed * time
for example, if a train travels 40 miles per hour for 3 hours, the distance traveled is 120 miles. write a program that asks for the speed ofa vehicle(in miles per hour) and the number of hours it has traveled. it should use a loop to display the distance a vehicle is traveling at 40 mph for a 3 hour time period. it should display a report similar to the one that follows:
hour - 1 distance - 40
hour- 2 distance- 80
hour- 3 distance - 120
January 2nd, 2008 at 11:59 pm
very interesting …
very interesting stuff. Great job guys. I would like to see more.