All 9 Java Modifiers in short

  1. public: Indicates that the element is visible to all classes in the Java program.
  2. private: Indicates that the element is only visible within the class in which it is defined.
  3. protected: Indicates that the element is visible to the class in which it is defined and any subclasses of that class.
  4. static: Indicates that the element is a class level element, rather than an instance level element.
  5. final: Indicates that the element cannot be modified once it has been initialized.
  6. abstract: Indicates that the element is an abstract class or method, which must be implemented by a subclass.
  7. synchronized: Indicates that a method can only be accessed by one thread at a time.
  8. transient: Indicates that a field should not be serialized.
  9. volatile: Indicates that a field can be modified by multiple threads and that the value of the field should be read from main memory, rather than from a thread's local cache.