Computer Science, asked by awe1, 1 year ago

what is a modifier in java

Answers

Answered by Anonymous
3
"Java has public, package, protected, and private. The access 'Modifier' package is the default and used, if any other access modifier keyword is missing. The meaning of these modifiers may differ from one language to another."

awe1: example ?
Answered by aqibkincsem
2

The Java has a number of modifiers to achieve function ability in the workings. There are many kinds of modifiers available which operate to achieve different functions.

The static modifier is used to create class methods and variables. The volatile modifiers are used for threads etc, there are many modifiers of these kinds which operate in different functions.

Similar questions