Ask Question
22 November, 00:57

Just as arrays can only have a, set at the time the array is declared, a parameter list also can only have a fixed number of elements, set at the time the method is declareda. True b. False

+3
Answers (1)
  1. 22 November, 03:44
    0
    The given statement is true.

    Explanation:

    In some programming language, arrays have a fixed size and the dimension should be specified at the time of declaration.

    If you specify array without defining the size, the compiler will give "compile time" error since it consider the problem as syntax error.

    Also, the size cannot be altered as and when needed.

    But there are some programming languages which allows arrays to increase or decrease in type. But those will be an object of a class. It will not simple like a primitive type.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Just as arrays can only have a, set at the time the array is declared, a parameter list also can only have a fixed number of elements, set ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers