In java, which has more wider scope ? Default or Private ?

Showing Answers 1 - 4 of 4 Answers

srisubu

  • Aug 1st, 2005
 

Default

  Was this answer useful?  Yes

Sushil

  • Nov 24th, 2005
 

Ans:Default

when u don't specify any access modifier then it is default scope.private access modifier will make that class private,where as default makes that class as a public for that package in which that class is there.

  Was this answer useful?  Yes

sandip

  • Feb 10th, 2012
 

Default has more wider scope

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions