Search:

Type: Posts; User: javarum

Search: Search took 0.10 seconds.

  1. Re: Operator % cannot be applied to java.lang.String,int?

    i must say all characters except from 0-9/numbers should be invalid.
  2. Re: Operator % cannot be applied to java.lang.String,int?

    how can i declare that the value entered is invalid? it now can say ODD, NEGATIVE, EVEN, ZERO

    import java.io.*;

    public class A

    {
    public static void main (String arum[])throws IOException{...
  3. Re: Operator % cannot be applied to java.lang.String,int?

    hmmm.. i use this?

    a=Integer.valueOf(String);
  4. Operator % cannot be applied to java.lang.String,int?

    i cant help myself...

    import java.io.*;

    public class A

    {
    public static void main (String arum[])throws IOException{
    BufferedReader tag=new BufferedReader (new InputStreamReader(System.in));
Results 1 to 4 of 4