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


How scala is both functional and object-oriented programming language?



How scala is both functional and object-oriented programming language?..

Answer / Muneesh Kumar

Scala is a multi-paradigm programming language, which means it supports multiple programming paradigms. Scala supports both functional programming and object-oriented programming (OOP). Functional programming emphasizes the use of functions as first-class citizens, immutability, and avoiding side effects. Scala provides support for higher-order functions, anonymous functions, and pattern matching, which are key concepts in functional programming. On the other hand, Scala also supports OOP by providing classes, objects, inheritance, and polymorphism. Scala's syntax allows seamless integration of functional and object-oriented constructs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Explain que?

1 Answers  


Explain operator and Explain types of operators in scala?

1 Answers  


How many public class files are possible to define in Scala source file?

1 Answers  


What is the difference between 'val' and 'lazy val' in Scala? What is Eager Evaluation? What is Lazy Evaluation?

1 Answers  


How to declare a function in scala?

1 Answers  


Is scala an oop?

1 Answers  


What is the latest version of scala?

0 Answers  


Who is the father of Scala?

1 Answers  


What do you understand by tail recursion in scala ?

1 Answers  


What is the access modifier in scala?

1 Answers  


What is vector in scala collection?

1 Answers  


What is the use of ‘yield’ keyword in Scala’s for-comprehension construct?

1 Answers  


Categories