Explain different types of identifiers in scala?



Explain different types of identifiers in scala?..

Answer / Mala Shakya

In Scala, there are four types of identifiers: Values (variables), Classes, Objects, and Methods. Value identifiers can be declared as var (mutable) or val (immutable). Class and Object identifiers define a new type, while method identifiers represent functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is a function literal in scala?

1 Answers  


Is scala an oop?

1 Answers  


What do you mean by foldleft in scala?

1 Answers  


What is a applicative?

1 Answers  


How Scala solves Inheritance Diamond Problem automatically and easily than Java 8?

1 Answers  


What is the diamond problem in scala?

1 Answers  


What is string in scala?

1 Answers  


What is the difference between Function and Method in Scala?

1 Answers  


What is Range in Scala? How to create a Range in Scala?

1 Answers  


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

1 Answers  


Why do we use =(equal) operator in scala function?

1 Answers  


What do you understand by tail recursion in scala ?

1 Answers  


Categories