O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Final Keyword

BLU BLU Alemão 5 flashcards

Flashcards do conjunto (5)

  1. 1What is final Keyword?- Final in Java is a keyword
    - It is used to specify an entity can be assigned only once
    -The keyword final comes into the picture for restricting user
    - final can be applicable to variables, methods and class
  2. 2Usage of Java final keyword- before an instance variable
    - before a method
    - before a class
  3. 3final instance variable- final variables can not be reassigned
    - if we try to do will get compiler error
  4. 4final before a method- final methods cannot be overridden
    - if we try to do will get compiler errors
  5. 5final before a class- Final class can not be extended
    - If we try to do will get compiler error

Informações

Descrição
FlashCards sobre Final Keyword, criado por BLU BLU em 24-01-2025.
Criado por
BLU BLU
Visualizações
0
Avaliação

Mais sobre Java Classes, Objects and Methods

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?