Basics of Computing

Home | Tutorial | History | Glossary


 

 

public method

In object-oriented languages such as Smalltalk or Java, public is one of several modifiers you use to control access to a method. A public method is available to any class in any file. If you use no modifier, only classes declared in the same file have access to the method.

 

 

Home | Tutorial | History | Glossary

ABC's of the Internet | TeenComp101 | Sponsors

Search Engine Submission

 

Webmaster Contact:

info@basicsofcomputing.com