How can a class be accessed, If no access modifiers are
declared?

Answer Posted / ravikiran(aptech mumbai)

the default access will be resticted to the classes with in
the same package

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is incompatible types in java?

766


What are three types of loops in java?

794


What are thread priorities and importance of thread priorities in java?

808


What is console based application in java?

772


What are different types of control structures?

698


What is the meaning of variable in research?

760


What is java abstraction with example?

718


Can java cast null?

764


What is break and continue statement?

785


What is the properties class?

808


Is 0 true or false?

707


How to use string tokenizer class.

831


What does g mean in regex?

730


Why does java does not support multiple inheritance? Explain

726


Can anonymous class have constructor?

753