Search:

Type: Posts; User: chronoz13

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    2,139

    Re: whats wrong with this one....

    it will just depends on how where and when will I use that "class"
  2. Replies
    9
    Views
    2,139

    Re: whats wrong with this one....

    so its fine to create a data member static/or not static and declare it as an input variable ,
    what happens in my program is that my MAIN program which will loop the input cannot repeat it..

    ryt?
  3. Replies
    9
    Views
    2,139

    Re: whats wrong with this one....

    the point is i just want to understand why is that error happens with the first code...
  4. Replies
    9
    Views
    2,139

    Re: whats wrong with this one....

    and one more thing.. when I run the first code.. and i input the value in false condition...
    the messagebox doesnt stop anymore... and i have to cancel the runtime manualy ... why is it like that?
  5. Replies
    9
    Views
    2,139

    Re: whats wrong with this one....

    i really owe you a lot sir JSON... actually that program was ryt,this is the right code


    public class ReturnStatementInIfElse_UNCLARIFIED_UNFINISHED {

    //IM HAVING SOME PROBLEM IN FALSE...
  6. Replies
    9
    Views
    2,139

    whats wrong with this one....

    public class Sample {


    private static int selection = Integer.parseInt(JOptionPane.showInputDialog(
    null, "Please Selecti"));;

    public static...
Results 1 to 6 of 6