Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Asmaamasry Questions
705 Questions
(Remove the largest ball first) Modify Listing 20.6, MultipleBallApp.java to assign a random radius between 2 and 20 when a ball is created. When the - button is clicked, one of largest balls is removed
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
173
(Game: lottery) Revise Programming Exercise 3.15 to add an additional $2,000 award if two digits from the user input are in the lottery number
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
253
(Game: hangman) Programming Exercise 7.35 presents a console version of the popular hangman game
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
0
149
(Use iterators on linked lists) Write a test program that stores 5 million integers in a linked list and test the time to traverse the list using an iterator vs. using the get(index) method
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
194
(Combine colliding bouncing balls) The example in Section 20.7 displays multiple bouncing balls
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
235
(Sort points in a plane) Write a program that meets the following requirements:
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
210
(Guessing the capitals) Rewrite Programming Exercise 8.37 to store the pairs of states and capitals so that the questions are displayed randomly
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
154
(Store numbers in a linked list) Write a program that lets the user enter numbers from a graphical user interface and displays them in a text area, as shown in Figure 20.17a. Use a linked list to store the numbers. Do not store duplicate numbers. Add the buttons Sort, Shuffle, and Revers the list
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
292
(Display words in ascending alphabetical order) Write a program that reads words from a text file and displays all the words (duplicates allowed) in ascending alphabetical order. The words must start with a letter. The text file is passed as a command-line argument
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
265
(ComplexMatrix) Use the Complex class introduced in Programming Exercise 13.17 to develop the ComplexMatrix class for performing matrix operations involving complex numbers
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
192
(Largest element in ArrayList) Write the following method that returns the largest element in an ArrayList: public static <E extends Comparable<E>> E max(ArrayList<E> list)
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
233
(Sort ArrayList) Write the following method that sorts an ArrayList: public static <E extends Comparable<E>> void sort(ArrayList<E> list)
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
159
(Shuffle ArrayList) Write the following method that shuffles an ArrayList: public static <E> void shuffle(ArrayList<E> list)
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
179
Total:
705
Previous
42
43
44
45
46
Next
Go