Hi,
I created a class named Test.java
public class Test {
public Test() {
System.out.println("Testing......");
}
}
It sucessfully compiles.
Then i create another java class Menu.java and here i trying to create an object of the Test class.
class Menu {
public static void main(String[] args) {
Test arrList = new Test();
}
}
I got an error "Test cannot resolved to a type error " while i compile the Menu.java
I am new to java
Anyone can help ?
Thanks in advance.