- Module 1: This lesson describes building the LangtonsAnt project using classes and methods.
After completing this module, you will be able to:
- Create a console application
- Create and Ant class and add properties and a constructor
- Read user input in a loop
- Module 2: This is a challenge project that reinforces the use of properties.
- Create classes with methods and properties
- Set and get information on an object using properties
- Use a method to display results
AI Adoption - Drive Business Value and Organizational Impact
Get 35% Off CFI Certifications - Code CFI35
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Syllabus
- Module 1: Module 1: Guided project classes methods properties
- Introduction
- Prepare
- Exercise - Create application
- Exercise - Implement classes
- Exercise - Use classes
- Knowledge check
- Summary
- Module 2: Module 2: Challenge project
- Introduction
- Prepare
- Exercise - Create a console app
- Exercise - Create a car object
- Exercise - Define a car class
- Knowledge check
- Summary