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 the access modifier in scala?



What is the access modifier in scala?..

Answer / Dilshad Ahamad

Scala has four access modifiers: private (accessible only within the defining object or class), protected (accessible within the defining object or class and subclasses), public (no access modifier, accessible everywhere), and override (used to override methods in a subclass).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is call-by-name? Does Scala and Java support call-by-name? What is the difference between call-by-value and call-by-name function parameters?

1 Answers  


What is scala option?

1 Answers  


What is map in scala?

1 Answers  


Which is better scala or python?

1 Answers  


What is scala map function?

1 Answers  


When compare to Normal Class, What are the major advantages or benefits of a Case-class?

1 Answers  


mention the types of variables in scala? And what is the difference between them?

1 Answers  


Can scala learn without java?

1 Answers  


What does sortedset in scala collection?

1 Answers  


How to create arrays in scala?

1 Answers  


What is Either in Scala? What are Left and Right in Scala? Explain Either/Left/Right Design Pattern in Scala?

1 Answers  


Explain the main difference between List and Stream in Scala Collection API? How do we prove that difference? When do we choose Stream?

1 Answers  


Categories