custom libraries

this may seem like an extremely nooby question, but when creating a custom jar to use in other programs, does it need a main function or can i just use the other programs.

-thanks

No main method in libraries. Then it would be a program.

I am fairly certain that using a library is just adding classes that you can reference to, anyway. It’s like adding them to your project, except you aren’t.

k thanks,