Search:

Type: Posts; User: TSSF44

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    898

    Re: Simple question- nonstatic variable?

    Thanks everyone, I learned a lot in this thread.
  2. Replies
    12
    Views
    898

    Re: Simple question- nonstatic variable?

    Thank you, but maybe I should just stop using Bluej. Ive been compiling the whole time and those are the only errors that Bluej gives me.



    Thanks for the help to both of you. I won't just inner...
  3. Replies
    12
    Views
    898

    Re: Simple question- nonstatic variable?

    Here is the full message. Sorry about that. I just dont understand how the user in that tutorial did the exact same thing and it compiled. Unless I made an error copying?
  4. Replies
    12
    Views
    898

    Re: Simple question- nonstatic variable?

    2401


    What I posted is the exact error. I got this program from the tutorial at Intro to Java Programming 19 - Multiple Classes - YouTube I may have copied something wrong. I am using BlueJ.
  5. Replies
    12
    Views
    898

    Simple question- nonstatic variable?

    import java.util.Scanner;

    public class Prog
    {
    public static void main (String[] args)
    {
    Scanner scan = new Scanner(System.in);
    System.out.println("Enter num");
    ...
Results 1 to 5 of 5