161k views
2 votes
How to private string type; public instrument in Java

User SQRCAT
by
7.5k points

1 Answer

3 votes

Answer:A class may be declared with the modifier public, in which case that class is visible to all classes everywhere.

Step-by-step explanation:

User Chen Wang
by
7.9k points