bootcamper bootcamper SetUp Docs Reps Blog
bootcamper bootcamper

U3L01 - objects

This lesson drills what Trevor teaches in U3L01

Pre-requirements:

  • You have performed each of previous drills to reach a top speed, and then repeated top speed 10x
  • Follow this for all drills explainer
  • Or this if you haven't even installed the drills yet installation

Summary of what is drilled

A Disciplined Approach? holds that these items should never again allow any confusion in your mind about this list of what Trevor covered in this lesson:

COVERED IN THE LESSON

  • adding modules to a java project is not appropriate for small projects
  • UpperCase naming convention for java classes
  • public class ClassName
  • public static void main (String[] args) used but not explained
  • TIP: MUST MEMORIZE Class is a Blueprint for an Object
  • TIP: MUST MEMORIZE an Object is a Noun, it's an instantiation of a Class
  • if u can touch it, it is an object
  • object is a noun, not a verb
  • ojbect is an instantiation of a noun
  • property or how to describe that thing
  • review: Data type, variable name, assignment operation
  • new is used to instantiate an object
  • left and right side of an object assignment must match

Instructor Administered Test

  • Create a new project
  • Create a new package
  • Create a new class with a new public static void main method
  • create the class for Dinosoar with the String properties of weight, color, length
  • from the main method, declare and instantiate a Dinosoar object named Bob