Multiple choice technology programming languages

package inheritance; interface test_Int { void test(); } abstract class IntImplementer implements test_Int { public static void main(String[] args) { System.out.println("Hello World!"); } }

  1. No output

  2. Hello World!

  3. Compiler Error

  4. Exception

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The abstract class implements the interface but doesn't need to provide the implementation - that's valid. Abstract classes implementing interfaces can defer implementation to concrete subclasses. The main method is static and independent, so it executes successfully, printing 'Hello World!'