Tag: programming languages
Questions Related to programming languages
In C++ the function that is used to release the block of memory already used is
class A{ int b=10; private A(){ this.b=7; } int f(){ return b; } } class B extends class A{ int b; } class Test{ public static void main(String args[]){ A a=new B(); System.out.println(a.f()); } }