yes prakash is right we cannot change address of a variable even by using const......... so its a wrong statement
Type: Posts; User: gogia_rajat; Keyword(s):
yes prakash is right we cannot change address of a variable even by using const......... so its a wrong statement
this is d basic property of a class that its private members are not accesible outside its scope..........therefore they are not inheritted
so to inherit them we use protected instead of private...
ur code is absolutely correct
every1 has given their views abt null n ambiguity but.........
there is one more error
constructor cannot take class as its parameter
it can only take its reference .....