Ask Question
21 August, 15:29

Which of the following is a true statement?

a. Message body in reachable by the main program.

b. Two methods can have the same header.

c. Formal and actual parameters may have the samenames.

d. Local variables are recognized by the mainprogram.

+4
Answers (2)
  1. 21 August, 17:03
    0
    d. Local variables are recognized by the main program.

    Explanation:

    Local variables are recognized by the main program, is a true statement.

    However, message body in reachable by the main program, two methods can have the same header, and formal and actual parameters may have the same names are NOT true statements.
  2. 21 August, 18:18
    0
    Answer: D. Local variables are recognized by the main program

    Explanation: Local variables can be accessed in the function that they are defined within. If you require the variables which should be accessible by every function in a particular program the they should be defined globally in the program. Therefore local variables are recognized by the main program throughout.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following is a true statement? a. Message body in reachable by the main program. b. Two methods can have the same header. c. ...” 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