ログイン

Object Oriented Programming Mock Test (Mocktest) BSIT 307
23問 • 1年前
  • Xai Alexandrei Delos Reyes
  • 通報

    問題一覧

  • 1

    specifies all the information needed to call a method.

    Method Declaration

  • 2

    specifies whether other classes can use a particular field or invoke a particular method.

    Access modifier

  • 3

    It is used for class methods.

    Static

  • 4

    It is the data type of the value returned by the method, or void if the method does not return a value.

    Return type

  • 5

    It is a comma-delimited list of input parameters, preceded by their data types and enclosed by parentheses. Empty parentheses are allowed if there are no parameters specified.

    Parameter list

  • 6

    It indicates that the method might throw one of the listed exception types.

    Optional Exception List

  • 7

    It is everything that is enclosed between braces. It contains the method’s code including the declaration of local variables

    Method body

  • 8

    Two (2) levels of access control: public or package-private

    Top level

  • 9

    Two (2) levels of access control: public, private, protected, or package-private

    Member level

  • 10

    This modifier allows the method to be visible to all classes everywhere

    Public

  • 11

    This modifier specifies that the method can only be accessed in its own class.

    Private

  • 12

    This modifier specifies that the member can only be accessed within its own package and by a subclass of its class in another package.

    Protected

  • 13

    This modifier (no modifier) specifies that the member can only be accessed within its own package

    Package-Private

  • 14

    It is any field declared with the static modifier; this tells the compiler that there is exactly one (1) copy of this variable in existence, regardless of how many times the class has been instantiated.

    Static Variable or Class Variable

  • 15

    It belongs to the class rather than the object of a class.

    Static Method

  • 16

    It is any variable or method that is non-static.

    Instance variable or method

  • 17

    It is any variable that is declared outside any method, constructor, or block.

    Instance variable

  • 18

    These are the variables listed in a method declaration.

    Parameters

  • 19

    These are the actual values that are passed in when the method is invoked.

    Arguments

  • 20

    Java is a _____ language. This means that a copy of the variable is made, and the method receives that copy.

    pass-by-value

  • 21

    It consists of the method’s name and the parameter types.

    Method Signature

  • 22

    It occurs when there are different method signatures with the same name but different type parameters.

    Method overloading

  • 23

    It is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes.

    Autoboxing

  • The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 58問 · 2年前

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67問 · 2年前

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64問 · 2年前

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23問 · 2年前

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76問 · 2年前

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48問 · 2年前

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52問 · 2年前

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52問 • 2年前
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40問 · 2年前

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38問 · 2年前

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38問 • 2年前
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28問 · 2年前

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24問 · 2年前

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24問 • 2年前
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19問 · 2年前

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36問 · 2年前

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computing Mock Test Finals

    Computing Mock Test Finals

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63問 · 1年前

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63問 • 1年前
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36問 · 1年前

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56問 · 1年前

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56問 • 1年前
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45問 · 1年前

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45問 • 1年前
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40問 · 1年前

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40問 • 1年前
    Xai Alexandrei Delos Reyes

    問題一覧

  • 1

    specifies all the information needed to call a method.

    Method Declaration

  • 2

    specifies whether other classes can use a particular field or invoke a particular method.

    Access modifier

  • 3

    It is used for class methods.

    Static

  • 4

    It is the data type of the value returned by the method, or void if the method does not return a value.

    Return type

  • 5

    It is a comma-delimited list of input parameters, preceded by their data types and enclosed by parentheses. Empty parentheses are allowed if there are no parameters specified.

    Parameter list

  • 6

    It indicates that the method might throw one of the listed exception types.

    Optional Exception List

  • 7

    It is everything that is enclosed between braces. It contains the method’s code including the declaration of local variables

    Method body

  • 8

    Two (2) levels of access control: public or package-private

    Top level

  • 9

    Two (2) levels of access control: public, private, protected, or package-private

    Member level

  • 10

    This modifier allows the method to be visible to all classes everywhere

    Public

  • 11

    This modifier specifies that the method can only be accessed in its own class.

    Private

  • 12

    This modifier specifies that the member can only be accessed within its own package and by a subclass of its class in another package.

    Protected

  • 13

    This modifier (no modifier) specifies that the member can only be accessed within its own package

    Package-Private

  • 14

    It is any field declared with the static modifier; this tells the compiler that there is exactly one (1) copy of this variable in existence, regardless of how many times the class has been instantiated.

    Static Variable or Class Variable

  • 15

    It belongs to the class rather than the object of a class.

    Static Method

  • 16

    It is any variable or method that is non-static.

    Instance variable or method

  • 17

    It is any variable that is declared outside any method, constructor, or block.

    Instance variable

  • 18

    These are the variables listed in a method declaration.

    Parameters

  • 19

    These are the actual values that are passed in when the method is invoked.

    Arguments

  • 20

    Java is a _____ language. This means that a copy of the variable is made, and the method receives that copy.

    pass-by-value

  • 21

    It consists of the method’s name and the parameter types.

    Method Signature

  • 22

    It occurs when there are different method signatures with the same name but different type parameters.

    Method overloading

  • 23

    It is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes.

    Autoboxing