null
US
Entrar
Registre-se gratuitamente
Registre-se
Detectamos que o JavaScript não está habilitado no teu navegador. Habilite o Javascript para o funcionamento correto do nosso site. Por favor, leia os
Termos e Condições
para mais informações.
Próximo
Copiar e Editar
Você deve estar logado para concluir esta ação!
Inscreva-se gratuitamente
1595123
Computer Science Quiz: Writing Custom Classes
Descrição
Quiz sobre Computer Science Quiz: Writing Custom Classes, criado por Chris Fraser em 06-11-2014.
Quiz por
Chris Fraser
, atualizado more than 1 year ago
Mais
Menos
Criado por
Chris Fraser
mais de 9 anos atrás
29
0
0
Resumo de Recurso
Questão 1
Questão
An object has...?
Responda
State and Behaviour.
Actions and Classes.
Methods and Code.
Questão 2
Questão
How many objects can a class have?
Responda
234
2
As many as we want
100
Questão 3
Questão
What type of declarations need to be made by a class?
Responda
State and Behavior
Class and Object
Data and Method
Questão 4
Questão
What is the toString method?
Responda
A method that makes two strings.
A method that combines two strings.
A method that prints a string representation of an object.
A method that returns a string representation of an object.
Questão 5
Questão
What is a constructor?
Responda
A person who directs a choir or orchestra.
A person who builds buildings
A method used to set up an object upon its creation.
A method used to build a class.
Questão 6
Questão
How is a constructor called and how is it named?
Responda
It is called by java and is also named by java.
It is called by a line of code and is named by the author.
It is called by a line of code and shares the name of the class.
It is called via "new" and shares the name of the class.
Questão 7
Questão
A constructor can accept parameters if necessary.
Responda
True
False
Questão 8
Questão
What is the scope of a variable?
Responda
What the variable can apply to.
How many times the variable can be used.
The region of the program that the variable can be used within.
The accuracy of the variable.
Questão 9
Questão
What is an instance variable?
Responda
A variable that only is used once.
A copy of a variable that is given to each object.
A variable that only applies to one instance (object).
A copy of a variable that applies to all objects in a program.
Questão 10
Questão
A client should be aware of both the implementation details as well as the interface.
Responda
True
False
Quer criar seus próprios
Quizzes
gratuitos
com a GoConqr?
Saiba mais
.
Semelhante
ENEM
Joana Durvalo
Garantias Fundamentais
Wander
10 Dicas para a Redação do ENEM
GoConqr suporte .
Mapa Mental - Algoritmos e Programação
Marcos Santos2025
SEGUNDO REINADO
Lucas Villar
QUIZ DE CIÊNCIAS - FÍSICA
Clean Maria Reis
SIMULADÃO EA-HSG EMA-136 NORMAS A RESPEITO DAS TRADIÇÕES NAVAIS, O COMPORTAMENTO PESSOAL E DOS CUIDADOS MARINHEIROS
isac rodrigues
Pronomes ( Revisão)
Rodrigo de Freit9506
Álgebra e Funções (Fundamental e Médio)
Andre Gonçalves
Disseminação Seletiva da Informação
Simone Alencar
Apresentação da disciplina - Desenvolvimento e Sustentabilidade Ambiental - Medicina
Jéssica Meireles
Explore a Biblioteca