Click here to Skip to main content
15,883,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i have one doubt why we declare variable of type classname
Posted

1 solution

To create object of the class, so that we could call the members of that class. :-\
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900