Thread
:
The different of static void,protected,and void in methods?
View Single Post
#
5
(
permalink
)
01-24-2008, 11:02 AM
tim
Senior Member
Join Date: Dec 2007
Location: South Africa
Posts: 334
Nice
Quote:
Originally Posted by
gibsonrocker800
only classes that are within the same package of the class can use it. Ex:
Code:
package pack; public class Example{ //Constructor package int getSum() { //code } }
Thanks gibsonrocker800. I didn't see that in my book.
__________________
If your ship has not come in yet then build a lighthouse.
tim
View Public Profile
Send a private message to tim
Find all posts by tim