Multiple choice technology programming languages

What is the concept Below???

class A  {
    int x=10;
};

class B extends A  {
    int x=100;
    show()     {
        System.out.println(x);
    }
    public static void main(String... s)  {
        B b1=new B();
        b1.show();
    }
};

The program will print 100. But the concept illustrated is----

  1. Data Shadowing

  2. Data Over-riding

  3. Data Obscuring

  4. None of the Above

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

In Java, declaring a field in a subclass with the same name as an inherited field in the superclass is called field hiding (or variable hiding). Since field hiding is not listed among the options, 'None of the Above' is correct, as overriding only applies to methods.