hi, All.
I know that how to use public, protected and private variables.
for ex: public i can use it another class, protected i can use in main and being inherited class and private only the class where it declared.
but i dont understand what is purpose to it public, private, or protected. what does it mean?
azegurb
1
Posting Whiz in Training
Recommended Answers
Jump to PostIt's for example to show other coders that are working on the same project as you how they should use your class.
All 4 Replies
minitauros
151
Junior Poster
Featured Poster
MooGeek
16
Posting Whiz
azegurb
1
Posting Whiz in Training
MooGeek
16
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.