GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java

 Print  |  
Question:  Access Specifier

Answer: What will happen if same access specifier repeats more than once within a class?


June 06, 2008 04:02:20 #3
 kiranmai.kasturi   Member Since: June 2008    Total Comments: 4 

RE: Access Specifier
 

Means where, while creating class like " public private class <class-name>{...}" or declaring properties..question is not clear. If it is while declaring class, it wont accept mutiple access specifiels as it accept public, abstract or final, give compiler error

     

 

Back To Question