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


Difference between Scala’s Inner class and Java’s Inner class?



Difference between Scala’s Inner class and Java’s Inner class?..

Answer / Pintu Bharti

Scala inner classes can be defined within methods, while Java inner classes are restricted to being defined at the top level of a class or interface. In addition, Scala allows for nested classes with different access levels (private, protected, and public), whereas Java only allows for private and static nested classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Why Scala does NOT have 'static' keyword? What is the main reason for this decision?

1 Answers  


Explain any five string methods?

1 Answers  


Explain que?

1 Answers  


How does yield work in scala?

1 Answers  


What are streams in scala?

1 Answers  


What is the difference between statically typed and dynamically typed languages?

1 Answers  


What is the best Code-coverage tool available for Play and Scala based applications?

1 Answers  


What are the differences between Array and ArrayBuffer in Scala?

1 Answers  


What is formula tail in scala?

1 Answers  


Explain the operators in scala?

1 Answers  


What is the default unit and functional testing framework for play? What is the default build tool for play? What is the default template engine for play? What is the built-in web server available in

1 Answers  


What is Monad in Scala?

1 Answers  


Categories