Make a Postage Calculator with Scala

Offered By
Coursera Project Network
In this Guided Project, you will:

Intermediate Scala concepts

Apply intermediate Scala concepts to application development

Clock1.5 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this course, you will complete a postage estimator application and learn these intermediate level Scala topics: abstract classes and traits, enumeration, singleton object, companion object and factory methods, case object. At the end of this class, you will have gained a deeper understanding of Scala and apply it to application development. Prerequisite: Basic level knowledge of Scala, such as basic object-oriented programming Helpful but not required: Experience with any modern programming languages such as Java, JavaScript, C++, Swift or Kotlin.

Skills you will develop

Software DevelopmentscalaProgramming LanguageCross-Platform

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and final product preview

  2. Build an abstract class and the letter class

  3. Extend the abstract class to include postcard and parcel

  4. Learn about singleton object, companion object and factory methods

  5. Use an enumeration for the destination

  6. Use case objects for the destination enumeration

  7. Make a companion and factory method for the new enumeration

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.