Rad bych vedel,proc nejde volat promenou typu string v tomto kodu:
package vstup;
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
try { System.out.println("napis cislo:");
BufferedReader vstup=new BufferedReader(new InputStreamReader(System.in));
String s=vstup.readLine();
}
catch(IOException e){
System.out.println("ch");
}
try { System.out.println("napis cislo:");
BufferedReader marek=new BufferedReader(new InputStreamReader(System.in));
String i=marek.readLine();
}
catch(IOException e){
System.out.println("ch");
System.out.println(i);
}
}}
Uvital bych,kdyby jste mi rekli,jak ji zavolat.Dekuji za odpovedi...