how many access specifiers are available in java
Answers were Sorted based on User's Feedback
Answer / manikandan
There are 4 access specifiers available , they are
(1) Public
(2) Protected
(3) Default
(4) Private
and their scopes are
Access|Scope|
Speci | |CLASS | SUBCLASS | PACKAGE |GLOBAL
--------------------------------------------------------------
PUBLIC YES YES YES YES
PROTECTED YES YES YES NO
DEFAULT YES YES NO NO
PRIVATE YES NO NO NO
| Is This Answer Correct ? | 6 Yes | 9 No |
Write a program to print fibonacci series
What do you understand by the term string pool?
What is the difference between math floor and math round?
I need help please send me reply: Write a program "if given a string like 'HAT', the combination's returned should be like ATH,THA,TAH in java"?
What is consumer in java?
Where are local variables stored?
What is floating data type?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
Why use string handling in Java?
How to store image in arraylist in java?
what is for datainputstream?