Using Scala, how do i write a class that has at least 2 fields and…

Question Answered step-by-step Using Scala, how do i write a class that has at least 2 fields and… Using Scala, how do i write a class that has at least 2 fields and 1 method. Create two instances (objects) of this class in the main. Using the object created, print the fields and call the method at least one.  Engineering & Technology Computer Science ELECTRICAL COM755 Share QuestionEmailCopy link Comments (0)