What is the access modifier in scala?
Answer / Dilshad Ahamad
Scala has four access modifiers: private (accessible only within the defining object or class), protected (accessible within the defining object or class and subclasses), public (no access modifier, accessible everywhere), and override (used to override methods in a subclass).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of auxiliary constructors in scala? explain the rules to follow in defining auxiliary constructors in scala?
Explain the operators in scala?
What is repl in scala?
What is an object in scala?
What is a custom exception in scala?
What is scala option?
What is the use of ‘yield’ keyword in Scala’s for-comprehension construct?
Why should I learn scala?
What is auxiliary constructor in scala?
Explain operator and Explain types of operators in scala?
What do you mean by a case class in scala?
What is the default unit and functional testing framework for play? What is the default build tool for play? What is the default template engine for play? What is the built-in web server available in