Answer:
Variable Where Declared
In Sub1 :
A Sub1
Y Sub1
Z Sub1
X Main
In Sub2:
A Sub2
B Sub2
Z Sub2
Y Sub1
X Main
In Sub3 :
A Sub3
X Sub3
W Sub3
Y Main
Z Main
Explanation:
In static-scoped languages with nested subprograms, the declaration of a variable is checked with the subprogram, if it is not found, it check within the parent method that called it, it continue until it find a declaration, if no declaration is found, it display an error.
In Sub1, a, y, z is declared there while the declaration of x is found in main.
In Sub2, a, b, z is declared, declaration of y is found in sub1 and declaration of x is found in main.
In Sub3, a, x, w is declared while the declaration of y, z is from the main.
Answer:
"it returns a string" is not true about the method.
Explanation:
Since int result = book.getYearPublished() compiles without errors inside a method of the MyClass, "int result " part of the code states that the method returns an integer, not a string. getYearPublished is a mutator method and a public method in the Book class.
The numbers of records that will be displayed in response to his query is known to be zero (0).
<h3>What is a query?</h3>
A query is known to be a kind of a question or any form of request that is known to be for information that is often expressed in a formal manner.
Note that a database query is one that can be seen as an action query or a a kind of select query.
A select query is one that can help to get back data from a database. based on the question, Jeremy is looking for a brown Tennessee walker and this is not among the option presented. Therefore the query will come back as zero.
Hence, The numbers of records that will be displayed in response to his query is known to be zero (0).
Learn more about query from
brainly.com/question/25694408
#SPJ1
Answer:
Microsoft Excel es un programa para calcular y simplificar las tareas de administración de datos que forma parte del paquete Microsoft Office de Microsoft Corporation. Microsoft Excel tiene funciones básicas que se pueden usar para trabajar con hojas de cálculo, usando una cuadrícula que consta de celdas. Las funciones también están disponibles para mostrar gráficos y datos visuales similares.