Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Inheritance or abstract class, class and interface. Please write Java codes in b

ID: 3581191 • Letter: I

Question

Inheritance or abstract class, class and interface. Please write Java codes in box for the diagram shown below. What Java block statement is used to handle exceptions? Which unix command can report the full path to the current directory? What Java class is used to write data to a text file? RandomAccessFile, Printwriter, BufferedlnputStream) public abstract int p() {return x}: The statement has no syntax errors. True, False) The seek method in RandomAccessFile class can move the file-pointer forward and backward. (True, False) public class visitOrder {static int order=2; public static void main(String[] args) {int [] [] img = {{1, 1, 0, 0, 0}, {0, 0, 0, 1, 0}}; for (int y = 0; y

Explanation / Answer

1) What java block statement is used to handle exception is catch block

2) Which Unix command can report the full path to the current directory pwd

3) What java class is used to write data to the text file is BufferedInputStream

4) public abstract int p() return{x};.The statement has no syntax error:False

5)The seek method in random access file class can move the file pointer forward and backward:True