Create demopg.java