Do Java's Lab1