it will just depends on how where and when will I use that "class"
Type: Posts; User: chronoz13
it will just depends on how where and when will I use that "class"
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?
the point is i just want to understand why is that error happens with the first code...
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?
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...
public class Sample {
private static int selection = Integer.parseInt(JOptionPane.showInputDialog(
null, "Please Selecti"));;
public static...