Thanks everyone, I learned a lot in this thread.
Type: Posts; User: TSSF44
Thanks everyone, I learned a lot in this thread.
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...
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?
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.
import java.util.Scanner;
public class Prog
{
public static void main (String[] args)
{
Scanner scan = new Scanner(System.in);
System.out.println("Enter num");
...