does java supports friend functions??

Not 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.

Java does not support friend function,multiple inheritance and operator over loading

Did you notice the date on this thread?

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.