Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Hi, I'm new to Java, getting compiler error for the following code: class A { int x; A (int a) {System.out.println ("class A");} } class B extends A{ int x; B() {System.out.println ("class B");} public static void main (String[] args) { A a= new B(); } } The compiler error … |