A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
public constructor for default class
Joined: Jun 18, 2008
Jun 18, 2008 06:37:00
Can't imagine this question hasn't been asked before, but I'm not having any luck finding it -- what is the functionality of having a default-access class with a public constructor?
Thanking you in advance....
Joined: Oct 13, 2005
Jun 18, 2008 06:45:00
Welcome to JavaRanch
You can extend it into a public class in the same package. I am sure there are other uses, however. Anybody else?
I agree. Here's the link:
subject: public constructor for default class
Access modifier question
Model or bean class is not available to Action Class
default constructor access
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014