In Java, the final keyword is used to restrict the user. The final keyword in Java can be used in a variety of situations. Finally, you could say: variable method class The final keyword can be used with variables to create a final variable with no value. It’s also known as an uninitialized final variable […]
May 28, 2022 | Java | No comments
Non-access modifiers provide the JVM with information about a class, method, or variable’s characteristics. In Java, there are seven different types of Non-Access modifiers: static final abstract synchronized volatile transient native Static: The static keyword indicates that the entity to which it is applied is accessible from any instance of the class. The static keyword […]
May 17, 2022 | Java | No comments