Home > Computer Programming > Simple Java Quiz

Simple Java Quiz

January 22, 2015 Leave a comment Go to comments
  • 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
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

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 )

Google+ photo

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

Connecting to %s