Monday, December 12, 2016

Java Programming Exercises.

      Here is the Code For a Simple Java Programme.😊😊😊



You can give the correct Answer for the given problem and Share knowledge too.. Submit your Answer in the comment Line.


---------------------------------------------------------------------------------------------------------------


import java.util.*;
class Example{
//Method Declaration
public static void main(String args[]){
int x=100;
int y=200;
System.out.println(x+" "+y); //prints 100, 200
//__________ ?
System.out.println(x+" "+y); //prints 200, 100
}
}
What  is the code to be Filled.You have to Swap to Numbers.
Output :

----------------------------------------------------------------------------------------------------------------------

0 comments:

Post a Comment