Originally posted by Swati Kadam:
class TrickyTest {
public static void main ( String args [ ] ) {
int i = 10 ; // line 1
i = ++i ; // line 2
i = i++ ; // line 3
System . out . println ( i ); // line 4
}
};
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
SCJP 5 with 94%
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
Master Gardener Program
https://coderanch.com/t/771761/Master-Gardener-Program
|