Home > Exercise 2 – Using operators and type casting > Exercise 2 – Using operators and type casting in Java

Exercise 2 – Using operators and type casting in Java

 

Exercise – 2 for module 1 of Beginning to Program with the Java Programming Language:

 

This post has the exercise – 2 for module 1 of  Beginning to Program with the Java Programming Language. Let’s practice what we have learnt. Before practicing the exercise, follow the instructions below which will give you a step-by-step instruction:

 

 

 

 

You can download the source code (WJ-1102A-module1-exercise2.zip) for this exercise from the Box widget in the sidebar. Follow the video tutorial below if you ever get stuck while executing the programs.

 

 

Vodpod videos no longer available.

 

 

 

Note:

 

Source: Sun Microsystems Educational Services Course – Beginning to Program with the Java Programming Language WJ-1102A.

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

%d bloggers like this: