File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java" Watch "Java" New topic


Shantanu Puranik
Ranch Hand

Joined: Jun 10, 2004
Posts: 67
How can we make a plain (ordinary) Java class to be a reusable one?
Difference between Java Bean & Bean class

--- Shantanu
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Moved to Java In General (Beginner)

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Lorenz Baylon
Ranch Hand

Joined: Jan 04, 2006
Posts: 99
How can we make a plain (ordinary) Java class to be a reusable one?

-- If you are referring to a java class being used as a 'utility class' or a class that can be called by other class within a project or package to perform some functions, i suggest that you declare those methods as public so that other classes may see them.

I hope this helps a bit.

I just cant look, its killing me.
I agree. Here's the link:
subject: Java
It's not a secret anymore!