Home > Java Programming > Variables and Loops > Questions and Answers
Q: |
What is the output for the below code ? public class A { int k; boolean istrue; static int p; public void printValue() { System.out.print(k); System.out.print(istrue); System.out.print(p); } } public class Test{ public static void main(String argv[]){ A a = new A(); a.printValue(); } } | ||||||||||
|
Comment on this Question | |
Name: | |
|