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 private static class in java?

757


Why synchronization is important in java?

792


What is immutable state?

737


What is the file type?

812


Why heap memory is called heap?

782


What is bytecode verifier?

704


What is exception in java?

756


how are methods defined?

799


Can each java object keep track of all the threads that want to exclusively access it?

752


Do you know why doesn't the java library use a randomized version of quicksort?

749


Why do we declare a class static?

752


What is a string what operation can be performed out with the help of a string?

752


How do you start a new line in java?

742


What is meant by vector class, dictionary class, hash table class, and property class?

909


What is class array in java?

719