Print Method added in Test.java class