Your client owns a bookstore, and you will find attached; a text file called Samsbooks.txt with titles of all the books in the store. Write and Print all the duplicate titles to a file called SamsDuplicate.txt. "
Your client owns a bookstore, and you will find attached; a text file called Samsbooks.txt with titles of all the books in the store. Write and Print all the duplicate titles to a file called SamsDuplicate.txt. "
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
im confused with how to duplicate my file on java. my assignment is "
Your client owns a bookstore, and you will find attached; a text file called Samsbooks.txt with titles of all the books in the store. Write and Print all the duplicate titles to a file called SamsDuplicate.txt. "
im just stuck on how to start it
![Eclipse
File
Edit
Source
Refactor
Navigate
Search
Project
Run
Window
Help
Sun May 9 9:07 PM
bartleby.com
eclipse-workspace - CSIT210/src/Lab9.java - Eclipse IDE
Bb https://ccbcm
WEB
= b Navigator (Depr... X
J AirlineDriver.java
*Lab9.java X
Academic
CSIT210 E src
x* (default package)
Lab9
main(String[]) : void
cip...barchive
10 //Larry. Lucas.
2
CSIT210
bin
e Q&
3 //CSIT 210
4
>
Documents
ean
src
5 //Sam's Bookstore
|CSIT projects
D AirlineDriver.java
D dog.java
J intials.java
D lab1.java
D lab3.java
D lab4Conversions.java
J Lab9.java
DProjectTrip.java
D RandomnumberG.java
Que
7e import java.util.*;
8 import java.io.*;
9.
java
10
Using
11
public class Lab9 {
lineDriver.java
12
13e
public static void main(String[] args) throws IOException {
Your c
remo
called
outpu
14
15
try {
16
Scanner books = new Scanner(new File("C\\Users\\Larry\\Desktop\\SamsBookstore.txt"));
System.out.println("Sams Duplicate Books 2021");
17
18
19
SamsBookstore.txt
D VowelCounter.java
X .classpath
X .project
20
as
Console X A Problems
@ Javadoc
Declaration
Creat
<terminated> Lab9 [Java Application] /Users/larrythedon/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.macosx.x86_64_15.0.2.v20210201-0955/jre/bin/ja
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error, insert ";" to complete Statement
Syntax error, insert "}" to complete Block
Syntax error, insert "Finally" to complete BlockStatements
And 7
Baby
at Lab9.main (Lab9.java:18
hsBookstore
Beach
Jimm
Вoot
Воy &
DOCX
Cat Ta
Bookstore.tx
t.docx
Creep
Jimm
Writable
Smart Insert
20 : 18 : 366
MAY
103
9.
ktv
W
280
Iw
....
--..](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb5250ca2-ec9b-45eb-a3a1-2cc63977af5f%2F2c498ce0-5ff8-46ce-a785-d704f9ff11c1%2F2hvg26n_processed.png&w=3840&q=75)
Transcribed Image Text:Eclipse
File
Edit
Source
Refactor
Navigate
Search
Project
Run
Window
Help
Sun May 9 9:07 PM
bartleby.com
eclipse-workspace - CSIT210/src/Lab9.java - Eclipse IDE
Bb https://ccbcm
WEB
= b Navigator (Depr... X
J AirlineDriver.java
*Lab9.java X
Academic
CSIT210 E src
x* (default package)
Lab9
main(String[]) : void
cip...barchive
10 //Larry. Lucas.
2
CSIT210
bin
e Q&
3 //CSIT 210
4
>
Documents
ean
src
5 //Sam's Bookstore
|CSIT projects
D AirlineDriver.java
D dog.java
J intials.java
D lab1.java
D lab3.java
D lab4Conversions.java
J Lab9.java
DProjectTrip.java
D RandomnumberG.java
Que
7e import java.util.*;
8 import java.io.*;
9.
java
10
Using
11
public class Lab9 {
lineDriver.java
12
13e
public static void main(String[] args) throws IOException {
Your c
remo
called
outpu
14
15
try {
16
Scanner books = new Scanner(new File("C\\Users\\Larry\\Desktop\\SamsBookstore.txt"));
System.out.println("Sams Duplicate Books 2021");
17
18
19
SamsBookstore.txt
D VowelCounter.java
X .classpath
X .project
20
as
Console X A Problems
@ Javadoc
Declaration
Creat
<terminated> Lab9 [Java Application] /Users/larrythedon/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.macosx.x86_64_15.0.2.v20210201-0955/jre/bin/ja
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error, insert ";" to complete Statement
Syntax error, insert "}" to complete Block
Syntax error, insert "Finally" to complete BlockStatements
And 7
Baby
at Lab9.main (Lab9.java:18
hsBookstore
Beach
Jimm
Вoot
Воy &
DOCX
Cat Ta
Bookstore.tx
t.docx
Creep
Jimm
Writable
Smart Insert
20 : 18 : 366
MAY
103
9.
ktv
W
280
Iw
....
--..
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education