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

What is the current version of java?

547


Is a class subclass of itself?

608


What is the difference between int and integer in java?

521


Difference between start() and run() method of thread class?

594


What is difference between path and classpath in java?

487






What are the fileinputstream and fileoutputstream?

571


What is the syntax and characteristics of a lambda expression?

563


What is consumer interface?

562


What is struts in java?

584


What is unsigned char?

631


What is meant by singleton class?

604


What language is an assembler written in?

559


What is array in java?

537


What is a package in java? List down various advantages of packages.

762


How do you escape sequences in java?

598