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 a constructor in scala?



What is a constructor in scala?..

Answer / Ashwanee Kumar Singh

A Constructor in Scala is a special method that is used to create and initialize new instances of a class. The primary constructor for a class is defined automatically by the compiler if no user-defined constructors are provided.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Make a case for ‘Scala higher order’ functions?

1 Answers  


Explain different types of identifiers in scala?

1 Answers  


What is flatmap in scala?

1 Answers  


List the default imports are available in scala language?

1 Answers  


What is apply method in Scala? What is unapply method in Scala? What is the difference between apply and unapply methods in Scala?

1 Answers  


Explain the access modifiers available in scala?

1 Answers  


What is the equivalent construct of Scala’s Option in Java SE 8? What is the use of Option in Scala?

1 Answers  


What is file handling in scala?

1 Answers  


In FP, What is the difference between a function and a procedure?

1 Answers  


Explain the difference between val and var in scala?

1 Answers  


What is akka in scala?

1 Answers  


What is akka in scala? Explain

1 Answers  


Categories