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

What is a monad in scala? Explain

1 Answers  


What do you mean by scala map?

1 Answers  


Why Scala is better than Java? What are the advantages of Scala over Java (Java 8)? Compare to Java What are the major advantages or benefits of Scala?

1 Answers  


What is list in scala collection?

1 Answers  


How do you prove that by default, Case Object is Serializable and Normal Object is not?

1 Answers  


What are the differences between Case class and Normal Class?

1 Answers  


Explain the operators in scala?

1 Answers  


What is exception propagation in scala?

1 Answers  


What are the Advantages of Functional Programming (FP) or Advantages of Pure Functions?

1 Answers  


What is scala programming used for?

1 Answers  


Explain extractors in scala?

1 Answers  


What does raw method in scala string interpolation?

1 Answers  


Categories