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
Does string isempty check for null?
What is java thread dump, how can we get java thread dump of a program?
What is keyword auto for?
What is the purpose of a parameter?
Can we inherit a class with private constructor?
What is consumer in java?
Why Java is not pure Object Oriented language?
Is empty in java?
What is meant by vector class, dictionary class, hash table class, and property class?
What is Major and importance difference between for and foreach loop ?
explain local datetime api in java8?
Which package has light weight components?
How does queue work in java?
what is meant by abstract class?
What are the types of methodology?