Question:

Java import statement problem?

by  |  earlier

0 LIKES UnLike



import java.io.*;

class sum

{

public int fact(int a)

{

return a*a;

}

public static void main(String[] args)

{

BufferedReader x=new BufferedReader(new InputStreamReader(System.in));

int n=Integer.parseInt(x.Reader Line());

sum obj=new sum();

System.out.println(obj.fact(n));

}

}

 Tags:

   Report

1 ANSWERS


  1. My i think is working but i can't do from here, please this code and regarding question please mail me via contact us section of given url below. i will provide you better solutions with the help of our expert team ..

    http://www.icreonglobal.com  

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.