New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How we call a variable of class without creating any function
3 Answers
0
declare public :
public int var=10;
0
I am asking in c++
0
As ASNM said to declare it.
And we call it a property.