I am confused with such these topics.
What is diffrence between variable and refrence variable?
What is diffrence between object and instance?
What is refrence pointer?
Thanks alot.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh JadavPosted Apr 22, 2017, 4:37 AM
Create an reference and an object
Student st = new Student();
The basic concept of OOP is this: Class >> Object >> Instance.
The class = the blue print. The Object is an actual thing that is built based on the 'blue print' (like the house). An instance is a virtual copy (but not a real copy) of the object.
For Reference pointers :
https://www3.ntu.edu.sg/home/ehchua/programming/cpp/cp4_PointerReference.html
Hope that helps
Khaja MoizuddinPosted Apr 22, 2017, 5:42 AM
Hassan Uddin MughalPosted Apr 22, 2017, 4:21 AM