Java 6 introduces a way to compile Java classes from a Java class. In this post, I will present an example to show how this is done. I have a Test.java file: Java Code: public class Test{ public static void main(String[] args) { // TODO code application logic here System.out.println("Hello World"); callMe(); } public static void callMe(){ System.out.println("Hello Babar dost"); ...
public class Test{ public static void main(String[] args) { // TODO code application logic here System.out.println("Hello World"); callMe(); } public static void callMe(){ System.out.println("Hello Babar dost");
License4J 4.0
05-22-2013, 12:23 AM in Java Software