Create a Folder
Test.
Create a folder in Test folder, name it A
Create two files; TestParent.java and TestChild.java
code of TestParent.java
----------------------------------
package Test.A;
public class TestParent{}
code of TestChild.java
----------------------------------
package Test.A;
public class TestChild extends TestParent{}
TestParent.java compiles fine but TestChild gives an error saying that cannot resolve symbol TestParent. Why?