Talk:Program name: Difference between revisions

Content added Content deleted
Line 1: Line 1:
== Java entry ==
== Java entry ==
The Java entry is kind of funny because it requires you to type the name of the class in order to print it. Then you might as well print it directly. It really should be using reflection. I've never used reflection in Java, but a after a glance at the [http://download.oracle.com/javase/tutorial/reflect/class/classNew.html documentation], I came up with this.
The Java entry is kind of funny because it requires you to type the name of the class in order to print it. Then you might as well print it directly. It really should be using reflection. I've never used reflection in Java, but a after a glance at the [http://download.oracle.com/javase/tutorial/reflect/class/classNew.html documentation], I came up with this. [[User:Fwend|Fwend]] 03:26, 6 August 2011 (UTC)


<lang java>public class Test {
<lang java>public class Test {