Friday 11 October 2013

import java.util.Scanner;
class UserInput
{
 public static void main(String Dx[])
  {
    
     Scanner in=new Scanner(System.in);
    
     int no;     
     System.out.println("ENTER NO:-"); 
     no=in.nextInt();
     System.out.println("YOUR ROLL NO :"+no);
    
      
 }


}

No comments:

Post a Comment

How to change Background color by selecting color from Listview

activitymain.xml file::> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     xm...