Search:

Type: Posts; User: JohnEliot

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,433

    Re: Can't declare Variable in new method

    The if statement is not a loop. In only needs {} if it is a loop, no?
  2. Replies
    4
    Views
    1,433

    Can't declare Variable in new method

    In the very last method below


    import javax.swing.JOptionPane;
    public class program08 {
    public static void main(String[] args) {
    String getWeightString = JOptionPane.showInputDialog(null,...
Results 1 to 2 of 2