Consider the following steps than I've taken:
- I created a new java project, named 'A' in my eclipse work space.
- I created a new class named 'Class1' and mentioned no package name for it. So it was created in the default package.
- I created a new package named 'somepackage' and created a new class named 'class2' in this package.
Now I need to import class1 in class2, and use its features and services. But whatever I do I can't do this. What is the way to overcome this problem?