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 this in scala?



What is this in scala?..

Answer / Rishikesh Banarjee

"this in Scala refers to the current object instance. It can be used to access member variables, invoke methods of the current object, and pass the current object as an argument to another method. The syntax for using this in Scala is: this.member_variable or this.method()"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Explain any five string methods?

1 Answers  


Explain the access modifiers available in scala?

1 Answers  


What is the advantage of Scala?

1 Answers  


Why is scala good for big data?

1 Answers  


What do you mean by option in scala and why it is used?

1 Answers  


What are the differences between Case class and Normal Class?

1 Answers  


Like Java, what are the default imports in Scala Language?

1 Answers  


What is the difference between :: and #:: in Scala? What is the difference between ::: and #::: in Scala?

1 Answers  


What is a function literal in scala?

1 Answers  


What is case object?

1 Answers  


Explain extend keyword?

1 Answers  


How do we make a call to a private primary constructor in scala?

1 Answers  


Categories