Which of the following access modifiers are not used in Ruby?

59. Which of the following access modifiers are not used in Ruby?

  1. Public
  2. Private
  3. Protected
  4. None

Answer: D) None

Explanation:

Ruby has three access modifiers: public, protected, and private.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.