Answer Posted / ashish shinkar
there are 4 access specifier in java
1: private
2: default
3: protected
4: public
Is This Answer Correct ? | 15 Yes | 10 No |
Post New Answer View All Answers
What is a layout manager and what are different types of layout managers available in java awt?
Is string a class in java?
Explain polymorphism citing an example.
Objects or references which of them gets garbage collected?
How can we make a class virtual?
What are new features introduced with java 8 ?
What is high level language in computer?
Why for each loop is used?
What is the difference between hashmap and hashtable? What is an interface?
What is composition in java?
What is default constructors?
Is static a singleton?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Is set sorted in java?
What is the difference between multitasking and multithreading in Java