Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java 2013.06.06.

Similar presentations


Presentation on theme: "Java 2013.06.06."— Presentation transcript:

1 Java

2 PRACTICE 1 (Selecting geometric figures) Write a program that draws various figures. The user selects a figure from a radio button and specifies whether it is filled in a check box. FigurePanel Panel with FlowLayout

3 PRACTICE 2 (Summing series) Write a recursive method to compute the following series:

4 PRACTICE 3 (Summing the digits in an integer using recursion) Write a recursive method that computes the sum of the digits in an integer. Use the following method header: public static int sumDigits(long n) For example, sumDigits(234) returns = 9.

5 PRACTICE 4 (Finding the largest number in an array) Write a recursive method that returns the largest integer in an array.


Download ppt "Java 2013.06.06."

Similar presentations


Ads by Google