package SuperThis;
public class Sub extends Super {
/*public static void main(String[] args) {
super.bar();
this.bar();
}*/
public void bar() {
System.out.println("Sub.bar()...");
}
public void test() {
super.bar();
this.bar();
}
// Sub sub=new Sub();
// sub.test();
this.test();
}
why above code is not workingThe .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY