Question 1which is true about methodsmethods prevent us


QUESTION 1Which is true about methods

  1. Methods prevent us from modularizing a program protecting it from fragmentation.

    Methods allow us to modularize a program.

    Methods should be avoided and GOTO's used instead

    Methods make for difficult to read code

QUESTION 2Hierachical form of management specified that?

  1. The worker and boss must be written by the same programmer

    The boss does not know what the worker is doing

    The worker must know what the boss is doing

    The boss must know what the worker is doing

QUESTION 3A static method depends on the contents of many objects?

  1.  True

     False

QUESTION 4 The main method must be declared as public _____ void main? 

QUESTION 5 Methods may be declared with multiple parameters. What must match?

  1. The number of parameters must be equal to the number of arguments in the calling statement.

    Objects are objects, you can specify any type you wish. 

    The number of parameters must be equal and of the same type as the number of arguments and types in the calling statement.

    The number of parameters may but do not have to be equal and of the same type as the number of arguments and types in the calling statement

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Question 1which is true about methodsmethods prevent us
Reference No:- TGS01121275

Expected delivery within 24 Hours