Ask 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 at the time the method is declareda. True b. False

+2
Answers (1)
  1. 5 April, 23:20
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers