// Opening comment. Note that a "string" is ignored here. class /* Bad name */ Stupid { int x; String t = "A string with a /* in it"; String p = "A string with a \" in it"; boolean b = t.compareTo(p) < 0; public static void main(String [] args) { System.out.println("" + t + " " + p); System.out.println("Can you think of other interesting cases that your program should handle?"); } /* Notice that comments /* do not "nest" in Java // */ }