what do you mean by public in java
Answers
Answered by
3
Public is a keyword that is used as an access modifier for methods and variables.
The public keyword is used in many object-oriented programming languages (OOPL), including C++, Java, C# and Visual Basic.NET (VB.NET)
The public keyword is used in many object-oriented programming languages (OOPL), including C++, Java, C# and Visual Basic.NET (VB.NET)
Similar questions