Flashcards
Java-Exercise 1

Cards in this deck (2)
- 1Hello Worldpublic class HelloWorld {
public static void main (String args[]) {
System.out.println ("Hello World!");
}
} - 2Arithmetic operations int i = 10; int j = 20; double x = 10.5; double y = 20.5; Operations: i + j ; x + y Addition i – j ; x - y Subtraction i * j ; x * y Multiplication i / j ; x / y Division i % j ; x % y Modulus Write a program that calculates the values of these operations and displays the result such as: “i+ j = 30”.

Information
- Description
- Object Oriented Programming Flashcards on Java-Exercise 1, created by dieollekrissi on 23/06/2014.
- Created by
- dieollekrissi
- Views
- 20
- Rating