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: 
Replace this:

```
obj_Actionkeywords.helo();

```

with this:

```
Actionkeywords.helo();

```

Also put this call in a method!

```
public static void main (String[] args) {
    Actionkeywords.helo();
}

```
Object reference name is obj. Why the call is made using obj\_Actionkeywords?
As its a static method, u can use class name itself.

ActionKeywords obj= new ActionKeywords();
obj\_Actionkeywords.helo();