Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
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
Private instance variables accessed within the class
when private is not so private
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014