Home > Java Programming > Variables and Loops > Questions and Answers
Q: |
You have two class files name Test.class and Test1.class inside javaproject directory. Test.java source code is : public class Test{ public static void main (String[] args){ System.out.println("Hello Test"); } } Test1.java source code is : public class Test1{ public static void main (String[] args){ System.out.println("Hello Test1"); } } you have issued below commands from command prompt. cd javaproject java Test Test1 What is the output ? | ||||||||||
|
Comment on this Question | |
Name: | |
|