Chemistry, asked by Sonam1120, 1 month ago

write about the keyword ‘public’ in Java​

Answers

Answered by shubhamraj57698
18

Answer:

public is a Java keyword which declares a member's access as public. Public members are visible to all other classes. This means that any other class can access a public field or method. Further, other classes can modify public fields unless the field is declared as final .

Explanation:

please follow and brainliest

Similar questions