0 votes
in Scala Constructs by
How is a Class different from an Object?

1 Answer

0 votes
by

Class combines the data and its methods whereas an Object is one particular Instance in a class.

 

Related questions

0 votes
asked Apr 21, 2022 in Scala Constructs by sharadyadav1986
0 votes
asked Mar 11, 2021 in Other by rajeshsharma
...