Ask Question
25 September, 04:40

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. 25 September, 05:49
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers