The two terms mean the same and can be used interchangably. The four types of access available in java for variables and methods are: Private, Default, Protected and Public. Read more about them here
I note that you have recently changed your display name. However, your new name still does not comply with the JavaRanch Naming Policy. Please Change your display name to comply. (We are looking for a first and last name; preferably your own, but one that is at least not obviously fictitious.)
Thanks!
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.