Hi,
does java supports friend functions??
pavan146 -1 Newbie Poster
Recommended Answers
Jump to PostNot as such, but in Java you use packages and sub-packages to group classes that share things within the package, but not outside it. Have a look at Java's four scope options - private, (default), protected, public.
All 3 Replies
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
sivasuit 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
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.