Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaclass loading delegationSingle-choice MCQ

What is the result of executing this code?

class A {\n static { System.out.print("A"); }\n A() { System.out.print("B"); }\n}\nnew A();