Hiding of Class Variables class Point { static int x = 2; } class Test extends Point { static double x =...
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts
Thursday, 20 July 2017
Saturday, 15 July 2017
Why an outer Java class can’t be private or protected
Why an outer Java class can’t be private or protected As soon as we try to use private or protected keyword while declaring an outer ...