intBet is the user's input...the program is part of a GUI made by netBeans GUI maker!!! so I wasn't sure I should put it all here!
--- Update ---
@Chris Brown
I see what you mean
I got my...
Type: Posts; User: ashl7
intBet is the user's input...the program is part of a GUI made by netBeans GUI maker!!! so I wasn't sure I should put it all here!
--- Update ---
@Chris Brown
I see what you mean
I got my...
Hi again
I know it's been a while, but wrote a piece of code, and can't find what my mistake is!
it's about variables again
public int result;
private void...
Oooooh "the same class or package"...now I get it...and thanks for the link
Ok thanks a lot
So you mean in general, we only use public, private, protected,etc... only when we want to make a class that is going to be used in some other program, or external codes?! in this...
Hi,I needed to know why we should use modifiers for variables?
I have this piece of code:
import java.util.*;
public class Test{
public String student;