Explain Java branch