Home » Java Programming » Declarations and Access Control

What will be the output of the program? public class A { void A() /* Line 3 */ { System.out.println("Class A"); } public static void main(String[] args) { new A(); } }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!