int x=5,i=1,y=0;
while(i<=5)
{
y=x++ + ++x;
i=i+2;
}
System.out.println(x);
System.out.println(y);
System.out.println(i);


How to solve this? Please explain!


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Advanced Java Interview Questions

how team leaders assign work for the team member like through papers,word document

1 Answers   TCS,


What is diffennce between AWT & SWING?

4 Answers  


how can u cal servlet from java?

7 Answers  


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

0 Answers  


What is Introspection?

2 Answers  






In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

0 Answers  


What is the difference between ear, jar and war file?

0 Answers  


which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config

1 Answers  


What is colon_pkg_prefixes and what is its use?

0 Answers  


Explain RMI Architecture?

0 Answers  


How would you reatach detached objects to a session when the same object has already been loaded into the session?

0 Answers  


What is Remote Interface?

1 Answers  


Categories