Video is locked.

Unlock the full course today

Join today to access over 15,000 courses taught by industry experts or purchase this course individually.

Java 8 Essential Training

Challenge: Creating a more complex calculator application

From the course: Java 8 Essential Training

Start my 1-month free trial
  • Course details

    If you want to build applications for mobile devices, desktop computers, or the web, you need to know Java. This course provides the foundation for learning Java SE (Standard Edition), so you can build your first apps or start exploring the language on your own. Author David Gassner shows how to install Java and the IntelliJ IDEA IDE, and start working with variables, data types, keywords, and other critical language components. He also helps you control program flow with conditional logic and loops, store data with the Java Collections Framework, and understand how Java implements object-oriented coding principles such as inheritance and polymorphism.

    Instructor

    • Click here to view David Gassner’s instructor page

      David Gassner

      Managing Staff Instructor, LinkedIn Learning Technology Library at LinkedIn

      David Gassner is the author of over 60 video-based technical training courses for software developers.

      David is a senior staff instructor who specializes in development platforms and programming languages including Android and Java. He currently creates training content for Android developers and content that covers multiple programming languages including Java, C#, Visual Basic, and Go. He was formerly the president and founder of Bardo Technical Services, an Adobe Solutions Network Training Provider. As an Adobe Certified Expert, he wrote courseware for Adobe and delivered extensive training on Flex, ColdFusion, Dreamweaver and Flash. He was the author of Wiley's Flex 3 Bible and Flash Builder 4 and Flex 4 Bible. He most recently designed and developed Audio Cues—an Android app for running sound in live performances—which is available in the Google Play store.

    Skills covered in this course

  • Welcome

    - In this challenge, I'll ask you to create another calculator application. As with the previous calculator application, I'm prompted for two numeric values. I'll type in one, and then type in another but this version of my calculator can execute addition, subtraction, multiplication, or division. I'll type in the operator that I want to use, I'll use minus for subtraction, and I get back the result. I'll run the application again, and this time I'll execute another operation. I'll start with a value of 10 and then I'll put in a second value of 2 and then I'll divide, and I get back the answer. This application has a little bit of error handling going on. I'll run the application again, and this time I'll enter a value that's not numeric. It doesn't matter which one I enter, either will cause the error to be triggered. I'll enter a numeric value for the second one and then I'll choose an operation, but I get back this error message. This is a customized error message, I'm not just…

  • Practice while you learn with exercise files

    Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.

    Download the exercise files for this course. Get started with a free trial today.

  • Download courses and learn on the go

    Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.

    Watch this course anytime, anywhere. Get started with a free trial today.

Contents