A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Mock Exam Errata
Joined: Jun 12, 2001
Jul 09, 2001 15:21:00
Is there private class or protected class? Sorry about the stupid question. I only saw public and defult classes.
Joined: May 05, 2000
Jul 09, 2001 19:46:00
You can only have public or default classes.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer
Blog - Unresolved References
Book Review Blog
Joined: May 11, 2001
Jul 10, 2001 06:35:00
top level classes can't be private to protected.
Asma Zafar,<BR>Sun Certified Programmer for Java2 Platform
I agree. Here's the link:
subject: private class?
Question 80 from Java rules round up
when private is not so private
Private instance variables accessed within the class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015