Question: I am new to eclipse and Java.Please find the code below.I have created maven project in eclipse.But i could not call a method from the class which is in another package.Please find the code .But this code works fine in netbeans.

```html
FILE 1 : 

package config;
public class ActionKeywords {

         public static void helo( )
         { ............
  }
}

FILE 2 with another package:

package executionEngine;
import config.ActionKeywords;
public class driver{

    ActionKeywords.helo(); /////////////ERROR //////////

}
```

Answer: 
Eclipse has auto-complete feature. So, in your Eclipse IDE, type "ActionKeywords." and wait. Do you get helo() method listed automatically? If not remove the import statement and try to type "ActionKeywords". Highlight the mouse on ActionKeywords which should prompt you with import statement. Import accordingly and the type the ".helo()" part. Since the code works fine on Netbeans, the only problem I could think is your import statement.
Your call `obj_Actionkeywords.helo();` is wrong.
It should be `obj.helo();`
or since helo is static it can also be `Actionkeywords.helo();`. By the way this should go in some method of the class driver. **Try to read some java tutorial first :)**