Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Quiz

Programming in Java

Faheem Ahmed 51 perguntas 1.673 visualizações

Fazer o quiz

Este quiz tem tempo limite, por isso abre no player de sempre.

Perguntas do quiz (51)

  1. 1What modifier is to be used if you wish to declare that you want to no longer allow subclasses to override your variables or methods?
    1. AFinally
    2. BAbstract
    3. CFinal
    4. DSynchronized
    5. EVolatile
  2. 2AWT stands for
    1. AAdvanced windowing tool kit
    2. BAbstract Windowing Term Kit
    3. CAbstract Windowing Tool Kit
    4. DApplet Window Tool Kit
    5. EAsynchronous windowing tool kit
  3. 3Which operator is used for concatenation in java?
    1. A-
    2. B. (Dot)
    3. C*
    4. D%
    5. E+
  4. 4What is the type and value of the following expression?
    -4 + 1/2 + 2*-3 + 5.0
    1. Aint -5
    2. Bdouble -4.5
    3. Cint -4
    4. Ddouble -5.0
  5. 5In object-oriented programming, the process by which one object acquires the properties of another object is called
    1. AEncapsulation
    2. BPolymorphism
    3. COverloading
    4. DInheritance
    5. EOverriding
  6. 6Java compiler javac translates Java source code into ………………………

    1. AAssembler language
    2. BByte code
    3. CBit code
    4. DMachine code
    5. EPlatform dependent code
  7. 7Which of the following statements about Java Threads is correct?

    1. AJava threads don’t allow parts of a program to be executed in parallel
    2. BJava is a single-threaded language
    3. CJava’s garbage collector runs as a high priority thread
    4. DReady, running and sleeping are three states that a thread can be in during its life cycle
    5. EEvery java application is not multithreaded
  8. 8The wrapping up of data and functions into a single unit is called

    1. AEncapsulation
    2. BAbstraction
    3. CData Hiding
    4. DPolymorphism
    5. EMessage passing
  9. 9In Java, declaring a class abstract is useful

    1. ATo prevent developers from further extending the class
    2. BWhen it doesn't make sense to have objects of that class
    3. CWhen default implementations of some methods are not desirable
    4. DTo force developers to extend the class not to use its capabilities
    5. EWhen it makes sense to have objects of that class
  10. 10Which of the following is a member of the java.lang package?

    1. AList
    2. BQueue
    3. CMath
    4. DStack
    5. EProcess

Informações

Descrição
SecondYear Second Year Quiz sobre Programming in Java, criado por Faheem Ahmed em 26-03-2018.
Idioma
English
Visualizações
1.673
Etiquetas
programmingjavasecond yearsecondyear
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?