Consider the following code:
```
public class A {
public static void doSomething() {
System.out.println("Method in A");
}
}
public class B extends A {
public static void doSomething() {
System.out.println("Method in B");
}
}
```
What will be the output when the following code is executed?
```
A obj = new B();
obj.doSomething();
```