A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
questiion regarding varinble
Joined: Jun 11, 2008
Jul 30, 2008 00:27:00
public class a
public static void main(
it out puts 10 why?
[ July 30, 2008: Message edited by: varinder mahajan ]
Beat the world,if you can.......
Joined: Jul 07, 2008
Jul 30, 2008 00:38:00
Well, it turns out that the Java postfix operator behaves in a weird way.
This was the fifth result in a google search for "postfix increment operator" by the way ;-)
[ July 30, 2008: Message edited by: Sid Murrey ]
I agree. Here's the link:
subject: questiion regarding varinble
How many hours do you sleep every day?
Interface Constant or class based ?
explain why the following will compile
when 400 mark will reach?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014