Contract compliance for Java classes is checked statically by the compiler. Virtual machine is responsible for bytecode loading, verifying and running. It does not check whether some class implements all methods of some interface.
3
solved Why does Java allow you to create an object from a class that implements partially an interface if it is implicitly abstract? [duplicate]