CBSE Computer Science - Revision Tour(Solved) CBSE Guess > eBooks > Class XII > CBSE Computer Science Class And Object Solved Revision Tour By Mr. Ravi Kiran COMPUTER SCIENCE CLASS AND OBJECTS Warning: include(../../../ads_330x250_middle.php): Failed to open stream: No such file or directory in /home/cbseguess/public_html/ebooks/xii/computer_science1/calss_object4.php on line 23 Warning: include(): Failed opening '../../../ads_330x250_middle.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/cbseguess/public_html/ebooks/xii/computer_science1/calss_object4.php on line 23 2004: 2.b) Declare a class myfolder with the following specifications: Private members of the class: Public members of the class: Ans:
2002: 2.a) What do you understand about a member function? How does a member function differ from an ordinary function? Ans: A member function is a function declared within a class. It is said to be defined in two ways. Ie Outside the class and
inside the class. When a member function is defined outside the class, the name of the function must be the full name including the class name as well. When a member function is defined inside the class, the name of the function is similar to an ordinary function but
CBSE Computer Science Solved Revision Tour By Mr. Ravi Kiran ( [email protected] ) |
Warning: include(../../../120_60_others.php): Failed to open stream: No such file or directory in /home/cbseguess/public_html/ebooks/xii/computer_science1/calss_object4.php on line 82 Warning: include(): Failed opening '../../../120_60_others.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/cbseguess/public_html/ebooks/xii/computer_science1/calss_object4.php on line 82 |