Question: Java java question You have an object of the RandomAccessFile class named empRaf. It refers to a physical file that contains a company's employee records.
Java
java question
You have an object of the RandomAccessFile class named empRaf. It refers to a physical file that contains a company's employee records. Each employee record has: an int field named emplD which points to its location in the file a 20 character last name a 15 character first_name a hire date stored as an int a 3 character job code The emplD values begin at 1, but the first record in the file begins at byte O. 1. Calculate the length of this record. 2. Write a statement that positions the file pointer at the beginning of the record that has emplD 20. Be sure to read the document in the content module and study the sample progrms before trying to answer this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
