What are Brief Access Specifiers and Types of Access Specifiers?

Answer Posted / nashiinformaticssolutions

To assist JVM in comprehending the extent of a variable, method, and class, access specifiers are predefined keywords. Four access specifiers are available to us.

Specifier for Public Access

Specifier for Private Access

Specifier of Protected Access

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parts of methodology?

635


What is the difference between assignment and initialization?

654


How do you check whether the list is empty or not in java?

598


How do you override a variable in java?

612


What does main method?

642






How will you get the platform dependent values like line separator, path separator, etc., ?

661


Why spring singleton is not thread safe?

651


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

685


What does those terms actually mean included in the j.d.k i.6?

1695


How many types of constructors are used in java?

632


Is arraylist a class in java?

617


What do bitwise operators do?

620


What is integer valueof?

731


Can we assign null to double in java?

651


What is a copy constructor in java?

661