I have created a class "Hello"
and I need to refer to an instance of the class
private Hello hello1 = new hello();
But when I write this code out, it does not recognize "Hello" to begin with..
cammyj3, on 12 June 2012 - 06:36 AM, said:
How would I get the main program to recognize that I have an outside class that I need to refer to?
I have created a class "Hello"
and I need to refer to an instance of the class
But when I write this code out, it does not recognize "Hello" to begin with..
I have created a class "Hello"
and I need to refer to an instance of the class
private Hello hello1 = new Hello();
But when I write this code out, it does not recognize "Hello" to begin with..

New Topic/Question
Reply



MultiQuote






|