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

Quiz

Final Quiz - 1409

Albert Kozak 67 perguntas

Fazer o quiz

Perguntas do quiz (67)

  1. 1Which of these best describes a Java class?
    1. AThe place I go every Thursday night.
    2. BA blue print from which Objects are created.
    3. CA runtime representation of data and behaviour.
    4. DA type of data used in Object Oriented Programming.
  2. 2What is an Object in OO Programming?
    1. AAn instance of a class.
    2. BA blueprint of a reference type.
    3. CA kind of primitive data type type to hold undefined data.
    4. DA abstract tool used to model a class design.
  3. 3Choose the reference type from the list below.
    1. Achar
    2. Bboolean
    3. Cint
    4. DString
  4. 4Which of these is a valid boolean?
    1. Ano
    2. B"false"
    3. Cfalse
    4. Dyes
  5. 5Which of the following is the correct way to declare an instance variable which holds a "null" value?
    1. ADog name = "Darby";
    2. BString gender;
    3. Cint dogsAge;
    4. Dpublic class Dog{...}
  6. 6Select the best way to name a class that holds data for a person.
    1. APERSON
    2. BPerson
    3. Cperson
    4. Dobject
  7. 7Constructors are used to
    1. ANone of these.
    2. Bensure valid data types are declared for instance variables
    3. Cconstruct proper return types are declared for methods
    4. Densure valid default values are set for instance variables
  8. 8What is this signature inferring?

    public void bark()
    1. AThis method can be called internally only.
    2. BThis method is actually a constructor.
    3. CThis method can be called externally
    4. DThis method will return a value called void.
  9. 9Assuming age has a value of 10, what is the output of the following?

    if(age > 10 && age < 100)
    {
    System.out.println("foo");
    }
    else
    {
    System.out.println("bar");
    }
    1. Ano output
    2. Bfoo
    3. Cfoo

      bar
    4. Dbar
  10. 10Assuming age has a value of 10, what is the output of the following?

    if(age > 10 || age < 0)
    {
    System.out.println("foo");
    }
    else
    {
    System.out.println("bar");
    }
    1. Abar
    2. Bno output
    3. Cfoo
    4. Dfoo
      bar

Informações

Descrição
Computer Science Quiz sobre Final Quiz - 1409, criado por Albert Kozak em 03-04-2019.
Idioma
English
Visualizações
11
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?