This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by rex tony: why the class B doesn't call value of the constructor of class A?
class B does not instantiate an object of class A, so the constructor would never be called. the fields x and y are static, of course, so no instance is necessary when dealing with them as they belong to the class, not any object.