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...


What is unit in scala?



What is unit in scala?..

Answer / Arti Pal

Unit (written as `()`) in Scala represents a value that has no data associated with it. It is similar to void in Java and Null in other languages, but unlike those, Unit actually has a type (AnyVal).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Explain operator and Explain types of operators in scala?

1 Answers  


What is implicit class in scala?

1 Answers  


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

1 Answers  


Mention the distinction between associate degree object and a category ?

1 Answers  


Please explain closure is scala?

1 Answers  


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

1 Answers  


What does sortedset in scala collection?

1 Answers  


How Scala supports both Highly Scalable and Highly Performance applications?

1 Answers  


What is Scala anonymous function?

1 Answers  


How does it work under-the-hood, when we create an instance of a Class without using ‘new’ keyword in Scala? When do we go for this approach?

1 Answers  


What are the four types of scala identifiers ?

1 Answers  


What is the current latest version of scala? What is the major change or update in scala 2.12?

0 Answers  


Categories