0% found this document useful (0 votes)
4 views1 page

C++ Class and Object Concepts Explained

The document discusses object oriented programming concepts like classes, objects, member functions, static variables, inheritance, this pointer and more. It provides questions related to these topics to help understand them better with explanations over multiple time periods.

Uploaded by

FalakJani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

C++ Class and Object Concepts Explained

The document discusses object oriented programming concepts like classes, objects, member functions, static variables, inheritance, this pointer and more. It provides questions related to these topics to help understand them better with explanations over multiple time periods.

Uploaded by

FalakJani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Class & Object

[March-April -2002]
1. *What is difference between !blic"ri#ate & r$tected data.[2]
2. *what is difference between %e%ber f!ncti$n and n$n %e%ber&'$r%al
f!ncti$n(.[2]
). Create a classes re*!ire f$r librar+ s+ste% with %e%ber data and %e%ber
f!ncti$n.[2]
,. What is ad#anta-e $f new $perat$r $#er %all$c&( f!ncti$n [2]
[[Link]-200)]
1. /0plain !sa-e $f static #ariable in a class.[2]
2. 1this2 p$inter p$ints t$ the $bject that is c!rrentl+ !sed t$ in#$3e a f!ncti$n
&4r!e.5alse with reas$n([2]
3. tw$ %aj$r c$%p$nent $f an $bject are --------------- and -----------.[2]
4. 6$w %e%$r+ is all$cated f$r $bject7-8escribe[2]
5. **8istin-!ish between the f$ll$win- tw$ state%ents &st!dent is class(
9t!dent s2&s1(:
9t!dent s2;s1:
[Oct$ber -200<]
1. Explain different visibility specifier available in c++.[2]
2. Explain in detail. Static data member and static function.[5]
3. !at is difference bet"een constant defined by #define and const.[2]
4. !at is difference bet"een static member and normal member function$[2]
5. Explain in brief scope resolution operator.[2]
%. Static data member and static function. [5]
&. !at is difference bet"een static member function and normal member function.
[2]
[[Link]-200=]
1. 8efine class" $bject and this p$inter.[2]
2. What is a reference #ariable7 What is its %aj$r !se7[2]
). 8ifferentiate Class and 9tr!ct!re.[10]
[$ct-2002]
1. */0plain this p$inter in C>>.[2]
2. What are the ad#anta-e $f !sin- new $perat$r c$%pared t$ the f!ncti$n
%all$c&([2]
[Oct-200,]
1. *8efine ? Class"Object. [2]
2. *@i#e the e0a%ple $f f!ncti$n $#erl$adin- !sin- class. [2]
[[Link]-200,]

You might also like