Ask Question

Define the keywords final and static.

+2
Answers (1)
  1. 3 May, 03:37
    0
    Final Keyword:-It is defined in the class that has the property of non-inheritance and can declare the constant variables. It has no re-initialization function. At the time of the final declaration, it is required that the variable should be initialized.

    Static Keyword:-It is used in a particular class for defining it's member so that it can used for any object of the class. Static method in a class can call this keyword. It can has the property of being re-initialized.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Define the keywords final and static. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers