What is a public method?

A public method is a method which can be called by any object.

Declaring a method public defines its access level.

The other options for declaring visibility are private and protected.

If undeclared, the default access level is package.



Top 5 Free Networking Tools

Bookmark What ia a Public Method?

Latest Blog Posts


Copyright 2008 Tech-FAQ. All rights reserved.