adspace


What is implicit class in scala?

Answer Posted / Shashank Mohan Shukla

In Scala, an implicit class allows for adding methods to existing classes without needing to inherit from them or modify their source code. It is used to extend the behavior of a class at compile time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current latest version of scala? What is the major change or update in scala 2.12?

89


What is the latest version of scala?

92