Update TestClass.java

Add method4() online