Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Introduction to Java Programming, Comprehensive Version (10th Edition)
by
Y. Danial liang
Edition:
10th edition
ISBN13:
978-0133761313
ISBN10:
0133761312
772
Java programming
Home
Books
Introduction to Java Programming, Comprehensive Version (10th Edition)
Similar Books
No books found
Title
Chapter: 16 /
Q: 29
(Display a calendar) Write a program that displays the calendar for the current month. You can use the Prior and Next buttons to show the calendar of the previous or next month
Chapter: 16 /
Q: 30
(Pattern recognition: consecutive four equal numbers) Write a GUI program for Programming Exercise 8.19, as shown in Figure 16.49a–b
Chapter: 16 /
Q: 31
(Game: connect four) Programming Exercise 8.20 enables two players to play the connect-four game on the console
Chapter: 17 /
Q: 1
(Create a text file) Write a program to create a file named Exercise17_01.txt if it does not exist. Append new data to it if it already exists
Chapter: 17 /
Q: 2
(Create a binary data file) Write a program to create a file named Exercise17_02.dat if it does not exist
Chapter: 17 /
Q: 3
(Sum all the integers in a binary data file) Suppose a binary data file named Exercise17_03.dat has been created and its data are created using writeInt(int) in DataOutputStream
Chapter: 17 /
Q: 4
(Convert a text file into UTF) Write a program that reads lines of characters from a text file and writes each line as a UTF-8 string into a binary file
Chapter: 17 /
Q: 5
(Store objects and arrays in a file) Write a program that stores an array of the five int values 1, 2, 3, 4, and 5, a Date object for the current time, and the double value 5.5 into the file named Exercise17_05.dat
Chapter: 17 /
Q: 6
(Store Loan objects) The Loan class in Listing 10.2 does not implement Serializable. Rewrite the Loan class to implement Serializable. Write a program that creates five Loan objects and stores them in a file named Exercise17_06.dat
Chapter: 17 /
Q: 7
(Restore objects from a file) Suppose a file named Exercise17_07.dat has been created using the ObjectOutputStream
total questions:
772
Previous
45
46
47
48
49
Next
Questions
772
Views
Best Answers
299
Points
5
×
Close
add reason
reason