¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Using Objects

Harkaran Matharu 10 preguntas

Hacer el test

Preguntas del test (10)

  1. 1Which one of the following is true?

    A private variable declared within a class is:
    1. Aencapsulated in the class
    2. Ba value type variable
    3. Can object variable
    4. Dastracted from the class
  2. 2Look at the following VB program code:

    Public Class Person
    Private mFirstName As String
    Private mSurname As String

    Public Function GetFullName() As String
    Dim retVal As String = String.Empty

    If Not String.IsNullOrEmpty(mFirstName) Then
    retVal = mFirstName & " "
    End If

    retVal &= mSurname

    Return retVal
    End Function

    End Class

    Which one of the following statements about mFirstName is NOT correct?
    1. AmFirstName has global scope
    2. BmFirstName is an instance variable
    3. CmFirstName has module scope
    4. DmFirstName is a class-level variable
  3. 3Which one of the following errors occurs when an instance variable is declared but its initialization with the 'New' keyword is omitted?
    1. ASystem.NotImplementedException
    2. BSystem.NullReferenceException
    3. CSystem.ApplicationException
    4. DSystem.ArgumentNullException
  4. 4An error occurs when an instance variable is declared but is not initialized using the 'New' keyword. What sort of error occurs?
    1. AA design-time error occurs
    2. BA compilation error occurs
    3. CA build error occurs
    4. DA run-time error occurs
  5. 5Which one of the following is not a member of a class?
    1. AMethods
    2. BNamespaces
    3. CProperties
    4. DProcedures
  6. 6Is the following statement true or false?

    Namespaces must be imported before the classes they contain can be used.
    1. AVerdadero
    2. BFalso
  7. 7Which one of the following statements is true?
    1. AClasses in the .Net Framework are divided into libraries.
    2. BClasses in the .Net Framework are divided into namespaces.
    3. CObjects in the .Net Framework are divided into classes.
    4. DObjects in the .Net Framework are divided into collections.
  8. 8Where are controls that do not have a visual representation on a Form displayed in the IDE?
    1. AThe Component Tray
    2. BThe System Tray
    3. CThe Toolbox
    4. DThe Component Toolbar
  9. 9Which one of the following is the Timer control property used to specify the time between ticks in milliseconds?
    1. AEnabled
    2. BRate
    3. CDelay
    4. DInterval
  10. 10Which one of the following is the name given to a constructor method?
    1. AInitializeComponent
    2. BCreate
    3. CInvoke
    4. DNew

Información

Descripción
Test sobre Using Objects, creado por Harkaran Matharu el 21/05/2018.
Idioma
English
Visitas
0
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?