0

What is the difference between friendly and static?

17th Mar 2017, 3:27 PM
Vaideeshwaran Saravanabhavan
Vaideeshwaran Saravanabhavan - avatar
2 Answers
+ 14
There is no friend key word in Java. Static means that you don't have to create an object of the class to access it.
18th Mar 2017, 10:29 PM
Tashi N
Tashi N - avatar