can a function can be accessed in a class from another class that has no main function
posted 13 years ago
As far as I know, there's only ever one main method. Yes, you can access functions in one class from another class. It just depends on which access modifiers (Public, Protected, Private, (Default)) are in place.