Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

What is the difference between a public and a non-public
class?

Answer Posted / ravikiran(aptech mumbai)

public class is the one whose memebers can get an access to
all the classes in the same package and out of the package

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an error in java?

257


What is the importance of finally block in exception handling?

195


How can we use primitive data types as objects?

205


Why set do not allow duplicates in java?

189


What is a buffer in java?

185






What are functions in java?

179


What do the thread?class methods run() and start() do?

203


Is boolean a wrapper class in java?

186


What do you understand by a Static Variable?

243


What is the use of string and stringbuffer?

192


Explain inner classes ?

203


What does string intern() method do?

220


Is java ee a framework?

173


Explain the features of interfaces in java?

223


What is meant by class and object in java?

190