Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


List different types of literals available in scala?



List different types of literals available in scala?..

Answer / Lokesh Diwakar

In Scala, the following are the main literals: 1) Number literals (integers and floating-point numbers). 2) Boolean literals (true and false). 3) String literals (enclosed in double quotes). 4) Character literals (enclosed in single quotes). 5) Null literal (represents an empty reference to a null value).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is scala and why it is used?

1 Answers  


What is Option in Scala? What are Some and None? What is Option/Some/None Design Pattern in Scala?

1 Answers  


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 Play Framework?

1 Answers  


What is file handling in scala?

1 Answers  


What is the access modifier in scala?

1 Answers  


What are left and right in scala?

1 Answers  


What is the best language to use with Play framework: Scala or Java?

1 Answers  


Explain traits in scala.

1 Answers  


What are case classes in scala?

1 Answers  


What is the difference between Function and Method in Scala?

1 Answers  


Explain extend keyword?

1 Answers  


List types of identifiers available in scala?

1 Answers  


Categories