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

Flashcards

Abstract Classes (CE203)

jeff caviliar Inglês 3 flashcards

Flashcards do conjunto (3)

  1. 1What is an abstract class?Contains common features of Sub-class, attributes and methods
    (reduce complexity)
    Prevents class from creating objects
    Abstract classes cant be instantiated,
    only inherited from
  2. 2How do you declare an abstract class?Declared by the key word ABSTRACT
    e.g
    public ABSTRACT class Bank
  3. 3What is an abstract method?Provides specification for sub class
    Defines what methods MUST be included
    in their sub classes
    Makes sure there is consistent behaviour
    in the class hierarchy
    Therefore different types of class, stored in a common structure

Informações

Descrição
FlashCards sobre Abstract Classes (CE203), criado por jeff caviliar em 07-05-2020.
Criado por
jeff caviliar
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?