Question 1. What class would you use to read a few pieces of data that are at known positions near the end of a large file? Question 2. How would you append data to the end of a file? Show the constructor for the class you would use and explain your answer.
Q3) Question
How can I append an existing file in Java?
4) Question
How can I read from, and write to, files in Java?
5) Question
6) Question
How can I provide a directory
listing, and allow the user to navigate directories and select a file?
7) How can I write primitive
data-types to disk? In C/C++, the printf statement could write integers,
floats, as well as other types.
Q8)Can Innerclassaccess a outer class member variable?
Que 9) What is the
advantage of Anonimous Inner class”