import package.myclass;
//But since it's the default package and same, you just create a new instance like:
elf ob = new elf();
Right Click > Project.
Click Project Properties.
Click Java Build Path.
Click the Projects Tab.
Click the Add Button.
Select the Project.
Click OK.