Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
How we call a variable of class without creating any function
3 odpowiedzi
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.