Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes public constructor for default class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "public constructor for default class" Watch "public constructor for default class" New topic
Author

public constructor for default class

M Marsden
Greenhorn

Joined: Jun 18, 2008
Posts: 18
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....
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36479
    
  16
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: http://aspose.com/file-tools
 
subject: public constructor for default class
 
Similar Threads
Access modifier question
default constructor?????
Model or bean class is not available to Action Class
Default constructor
default constructor access