Lessons

Nested if-statements

We can also nest if statements inside of one another.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Else if

Sometimes IF THEN ELSE is not enough options, and we may need addition IF conditions.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Else

Learn to add ELSE statements to your IF THEN structures

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

String Truncation Revisited

Use an if-statement to add ellipses to strings that have been truncated

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

If statements

Learn to use the IF THEN logic structure to help your programs make decisions

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Cat Class

Create Cat Objects

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

String Method challenge

Practice Object methods by learning to use the substring String method

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

String Objects

One example of a Class that we have been creating Objects from is the String class.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Modifying Object properties

We can modify an Object's properties after it has been created.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Object Methods

Some Objects can use special methods to help perform relevant actions

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Objects Intro

Objects are a special type of data which may hold more complex information than a single entry.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Compound Assignment Operators and Incrementation

Learn how to use arithmetic to change variable values

Created by slinkous 8 months ago

Access Level: premium

Account: MVCode

Arithmetic Operations

Learn the basic mathematical operations in Java

Created by slinkous 8 months ago

Access Level: premium

Account: MVCode

Variable Assignment

Learn to assign values to variables

Created by slinkous 8 months ago

Access Level: premium

Account: MVCode

Local vs Global Coordinate Axes

Local vs Global coordinate axes

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Integers, Doubles, Booleans, and Strings

Learn three primitive data types in Java

Created by slinkous 8 months ago

Access Level: premium

Account: MVCode

Paying For Gas

Now we can write a void method that will actually subtract the cost of gas from the money we brought with us.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Planning For Your Trip

Before your drive across the country, it is a good idea to be prepared. Here we'll plan for gas mileage and cost by creating a method

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Multiple Parameters

You can write methods with more than just one parameter for methods which require more than one piece of data.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Return Values

Some methods return data back to the statement where it was called

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Passing Exercise

Create a new method named `minutesToHours` that takes an integer amount of minutes and converts it to hours:minutes form.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Passing Data to Methods

Some methods need additional information in order to run. When calling a method, the parenthesis allow us to supply data the method will need.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Static Methods

A method in Java is a sequence of commands that perform an action.

Created by jamie 8 months ago

Access Level: premium

Account: MVCode

Stealth Game 5

Creating a new type of enemy which will be shooting lasers!

Created by aaronjau101 9 months ago

Access Level: premium

Account: MVCode

Choose your Adventure 5

Add a mini game that takes place in the desert to catch snowflakes

Created by aaronjau101 9 months ago

Access Level: premium

Account: MVCode