what is the difference between the "protected and default"
modifiers?
Answer Posted / abcd
Is it possible to mark a class as Protected?? i guess the
answer posted by Mythili is wrong.. thgh we can interpret
it using protected methods..
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What will happen if static modifier is removed from the signature of the main method?
How does multithreading take place on a computer with a single cpu?
What is the length of a string?
Explain about the security aspect of java?
What are adapter classes?
what is meant by HQL?
What are different types of states exist for a thread?
What is default switch case? Give example.
Write a program in java to create a doubly linked list containing n nodes.
What is the public method modifier?
How do you achieve singleton?
How do you use compareto method?
Why parameters should be passed by reference?
Explain access modifiers in java.
Difference between method overloading and method overriding in java ?