Similar Books


    No books found

Title
Chapter: 20 / Q: 18
(Directory size) Listing 20.7, DirectorySize.java, gives a recursive method for finding a directory size
Chapter: 20 / Q: 19
(Game: solution ratio for 24-point game) When you pick four cards from a deck of 52 cards for the 24-point game introduced in Programming Exercise 20.13, the four cards may not have a 24-point solution
Chapter: 20 / Q: 20
(Directory size) Rewrite Programming Exercise 18.28 using a stack instead of a queue
Chapter: 20 / Q: 21
(Use Comparator) Write the following generic method using selection sort and a comparator
Chapter: 20 / Q: 22
(Nonrecursive Tower of Hanoi) Implement the moveDisks method in Listing 18.8 using a stack instead of using recursion
Chapter: 20 / Q: 23
(Evaluate expression) Modify Listing 20.9 EvaluateExpression
Chapter: 21 / Q: 1
(Perform set operations on hash sets) Create two linked hash sets {\"George\", \"Jim\", \"John\", \"Blake\", \"Kevin\", \"Michael\"} and {\"George\", \"Katie\", \"Kevin\", \"Michelle\", \"Ryan\"} and find their union, difference, and intersection. (You can clone the sets to preserve the original set
Chapter: 21 / Q: 2
(Display nonduplicate words in ascending order) Write a program that reads words from a text file and displays all the nonduplicate words in ascending order. The text file is passed as a command-line argument
Chapter: 21 / Q: 3
(Count the keywords in Java source code) Revise the program in Listing 21.7. If a keyword is in a comment or in a string, don’t count it. Pass the Java file name from the command line. Assume that the Java source code is correct and line comments and paragraph comments do not overlap
Chapter: 21 / Q: 4
(Count consonants and vowels) Write a program that prompts the user to enter a text file name and displays the number of vowels and consonants in the file. Use a set to store the vowels A, E, I, O, and U
total questions: 772

Questions

772

Views

A PHP Error was encountered

Severity: Warning

Message: Undefined property: stdClass::$TotalViews

Filename: books/book.php

Line Number: 411

Best Answers

299

Points

5