Q. Why are local variable names beginning with an underscore discouraged?

  • (A) they confuse the interpreter
  • (B) they are used to indicate global variables
  • (C) they are used to indicate a private variables of a class
  • (D) they slow down execution
πŸ’¬ Discuss
βœ… Correct Answer: (C) they are used to indicate a private variables of a class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
192
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Durgesh
Publisher
πŸ“ˆ
95%
Success Rate