Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.
Scala supports object-oriented programming by allowing you to define classes that contain both data and methods as members. But due to Scala's compact syntax, defining classes in Scala is typically more terse than in almost any other language. The syntax also tends to blur the distinction between data and methods, allowing greater abstraction and flexibility. Learn how to write object-oriented code the Scala way.
{{toc.Position}} | {{toc.Text}} |