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

Answer Posted / malli

default specifier:
with out mention any access specifier (private,
public,protect) is called default specifier.

ex://default// class Manager
{
}

use:

we can assign any default access specifier to particular
classes those classes we can use with in 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

Is void a wrapper class?

537


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

835


Define iterator and methods in iterator?

547


What are the different conditional statements?

560


What is thread safe in java?

553






Difference between Linked list and Queue?

613


Can we sort hashmap in java?

533


What is object-oriented paradigm?

617


What is generic class?

650


Explain the difference between map and flatmap stream operation?

821


What does %4d mean in java?

843


How many bits is size_t?

544


What modifiers may be used with an inner class that is a member of an outer class in java programming?

536


What is a pattern what is an anti pattern?

511


What do you mean by Function Overloading in java?

632