Question: **Java** How do implement a file in java? I need to read in from a file the following i 56 i 612 i 198 i

**Java**

How do implement a file in java?

I need to read in from a file the following

i 56 i 612 i 198 i 3 i 0 d 198 d 56 p q

so if the first line is i then i will call a method to insert the number next to i. i for insert, d for delete, p for print and q for quit. please if you know how to do it, show me an example, the methods insert, delete can be just simply as a print the integer. I just need the way to get the char character to call the proper method and the integer to do the action.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!