I have a question regarding this scenario

I have 2 classes
Class A and class B inside 2 different packages as follow.

```
Package test1 // first Package
public class B
{
public static int q = 10; // having one static variable
static
{
system.out.println ("test")// One static block which is printing something
}
}

```

inside 2nd package

```
Package test   
import test1.B  // Importing class B from Package test1
public class A
{
int c = B.q // reading the value q from class B
}

```

So in this case when I will execute class A the static block that is in class B 

> 
> static { system.out.println ("test") }
> 
> 
> 

will be executed or not.