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


Is Scala an Expression-Based Language or Statement-Based Language? Is Java an Expression-Based Language or Statement-Based Language?



Is Scala an Expression-Based Language or Statement-Based Language? Is Java an Expression-Based Langu..

Answer / Sachin Kumar Mourya

Scala is both an expression-based and statement-based language. It allows for expressions to be used where statements are expected, making it more concise. Java, on the other hand, is primarily a statement-based language, although some constructs can be expressed as expressions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is function currying in Scala?

1 Answers  


What is Primary Constructor? What is Secondary or Auxiliary Constructor in Scala?

1 Answers  


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

1 Answers  


How many values of type Nothing have in Scala?

1 Answers  


What are the advantages of case class?

1 Answers  


What is case object?

1 Answers  


What is guard in Scala’s for-comprehension construct?

1 Answers  


What is the use of 'object' keyword in Scala? How to create Singleton objects in Scala?

1 Answers  


What is an ofdim method in scala?

1 Answers  


What is exception handling in scala?

1 Answers  


What is PreDef in Scala?

1 Answers  


Why scala prefers immutability?

1 Answers  


Categories