Mention the identifiers in scala?



Mention the identifiers in scala?..

Answer / Binu Kumar Gautam

In Scala, identifiers can be classified into three categories: Values (var, val), Types (type), and Classes (class). Identifiers should start with an alphabetic character (a-z or A-Z), followed by any combination of alphanumeric characters or underscores. Keywords are reserved words in Scala and cannot be used as identifiers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is Monad in Scala?

1 Answers  


What are the popular JVM Languages available now?

1 Answers  


What is the use of auxiliary constructors in scala? explain the rules to follow in defining auxiliary constructors in scala?

1 Answers  


What are the major differences between Scala’s Auxiliary constructors and Java’s constructors?

1 Answers  


What is 'Application' in Scala or What is Scala Application? What is 'App' in Scala? What is the use of Scala’s App?

1 Answers  


Mention Some keywords which are used by Java and not required in Scala? Why Scala does not require them?

1 Answers  


What is the utilization of tuples in scala?

1 Answers  


What are the data types in scala?

1 Answers  


What is vector in scala collection?

1 Answers  


What’s performing currying in Scala?

1 Answers  


What is the current latest version of Scala?

1 Answers  


What is Unit in Scala? What is the difference between Java’s void and Scala’s Unit?

1 Answers  


Categories