Model Checking Java Programs With Examples