What is default specifier ??? Use of default specifier ???

Answer Posted / david sandyp

default is the access given to the class when no access specifier is mentioned ..

Default is not public but it is almost like public.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you convert int to char in java?

575


Break statement can be used as labels in java?

555


How do you declare an array in java?

523


What are methods?

555


Why Java doesn’t support multiple inheritance?

638






Why does java not support pointers?

554


What is multithreading in java?

551


Can we have this () and super () together?

610


What is a char in java?

539


If goto and const is reserve words than why it is not work in java?

1510


What is a boolean field?

531


What is the exact difference in between unicast and multicast object? Where we will use?

559


Can we clone singleton class in java?

519


Are arrays classes in java?

535


What is the function of character?

527