A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: public constructor for default class
Access modifier question
default constructor access
Model or bean class is not available to Action Class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013