×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

The final keyword in Scala is used to –

48. The final keyword in Scala is used to -

  1. Define a variable whose value cannot be further changed
  2. Create a new variable
  3. Special inaccessible value in Scala
  4. None of these

Answer: A) Define a variable whose value cannot be further changed

Explanation:

In Scala, Final is a keyword and used to impose restriction on super class or parent class through various ways.

Comments and Discussions!

Load comments ↻






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