answersLogoWhite

0

final methods and variables are that whose values couldn't change.not even run time also.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is java-compatible web browsers?

A Web browser that has inbuilt capability to execute Java code.


What method in Java cannot be overridden?

Methods which are declared final cannot be overridden.


Which built in class in java contains only final methods?

String class


Which package is inbuilt in java API?

The java.lang package is automatically imported for you.


How do you prevent inheritance in java?

If a class is declared as final, you can't inherit from it. If individual methods are declared final, then, if the class is inherited, these methods can't be changed in the inherited classes.


What is web compatibility?

A Web browser that has inbuilt capability to execute Java code.


Is it possible to override overloaded methods why?

Yes. Overloaded methods are also Java methods and all Java methods can be overridden.


Concat a string without using any inbuilt function in java?

Use "+". Example: String string = "does this answer " + "your question?";


Explain three different methods in java?

There are three different methods /functions in java are there : 1)computational methods.2)manipulative methods.3)procedural methods.


Why final method are used?

Final methods in Java are used to prevent method overriding, ensuring that the behavior of a method remains consistent and cannot be altered by subclasses. This is particularly useful for maintaining the integrity of critical methods or when implementing security measures. By declaring a method as final, developers can also improve performance, as the compiler can optimize calls to these methods. Overall, final methods promote a clear design by restricting the extensibility of certain class behaviors.


What is a java object?

A java object is a collection of methods and properties defined in the Java programming language.


The actions in a java class are called?

The actions in a java class are called methods.