Simple Java Quiz

  • Variables of int, double or String (including arrays of these types)
  • If… else if… else statements
  • For loops
    • Running the same block of code a certain number of times
  • While loops
    • Running the same block of code while a particular condition is true
  • Arrays
    • Referencing and assigning values to elements using an index
    • Declaring array literals and array variables
    • Looping through an array to get/set values
  • Methods
    • Calling a method
    • Passing parameters
    • Using return values
    • How to write a simple method with parameters (arguments) and a return type
  • Classes
    • instance variables
    • local variables
    • instance methods
    • instantiation
    • method invocation using dot notation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s