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


Explain the access modifiers available in scala?



Explain the access modifiers available in scala?..

Answer / Ravi Shankar Tiwary

Scala provides four access modifiers: 'private' (only accessible within the defining class), 'protected' (accessible within the defining class and subclasses), 'public' (default, accessible anywhere), and 'package' (accessible within the same package).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

If I want to become a Fullstack Scala Developer, which technology stack I should learn?

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 the Main drawback of Scala Language?

1 Answers  


Explain the functionality of yield?

1 Answers  


In Scala, Pattern Matching follows which Design Pattern? In Java, ‘isinstanceof’ operator follows which Design Pattern?

1 Answers  


What is Null in Scala? What is null in Scala? What is difference between Null and null in Scala?

1 Answers  


What is case object?

1 Answers  


List types of identifiers available in scala?

1 Answers  


What is the use of ‘???’ in Scala-based Applications?

1 Answers  


What is the access modifier in scala?

1 Answers  


What is the major change or update in Scala 2.12?

1 Answers  


Which scala library is used for the functional programming?

1 Answers  


Categories