this is my frist java program will u help me out in solving the errors
public static void main(String (args)) throws IOException
BufferReader b1=newBufferedReader(new InputStreamReader(System.in));
System.out.print("enter values for u,a & t respectively");
a= Integer.parseInt (b1.readline());
t= Integer.parseInt (b1.readline());
System.out.print("speed is "+v);
What are the errors you get? What goes wrong?
there were three errors Newton_one.java:16: `}` expected
3 errors please correct the code
Are you sure?
What is Impot ?
What is main(String (args)) ?
What is BufferReader?
What is newBufferedReader?
What is readline() ?
Did you count your left and right curly brackets and parentheses? b.t.w. 'Impot' is not a keyword in Java.
Originally Posted by santosh chauhan
edit: darn PhHein beat me to it again ... ;-)
thanks sir problem solved