Answer:
BufferedWriter salesdata = new BufferedWriter(new FileWriter("out.dat", true);.
Explanation:
- The statement BufferedWriter salesdata = new BufferedWriter(new FileWriter("out.dat", true); can be used to create a file object that will append data to an existing file.
- Here, BufferedWriter class is used to create text from an output stream.
- Here, FileWriter is used to create the file from the text. The constructor for FileWriter is FileWriter (String filename, boolean append).
- Here, filename is string ("out.dat") is provided and the append is boolean can be either true (if the text has to be appended at the end of the file) or false (if the text hasn't to be appended at the end of the file).
- So, option (b) is correct.
- Option (a) is not correct as it indicates the text shouldn't be appended at the end of the file as the boolean is false.
- Option (c) is not correct as it doesn't mean to append as there is no boolean true indicated in the constructor.
- Option (d) is not correct as there is not such kind of syntax.
Answer:
Mobile are build in a specific platform such as Android, iOS ect and they use application such as apple store and have access to the system such as GPS and the camera. Mobile apps live and run on mobiles as on they are their own thing controlled by a developer on the other end
Explanation:
Answer:
- <u>packet capture best suited for Wireshark </u>
- <u>packet analysis best suited for Netwiness</u>
Explanation:
Although both software packages can carry out each task, however, expert network administrators have noted that in terms of effectiveness, the Wireshark software application is best suited for packet capture since unlike Netwitness has no limitation on the size of files it can capture.
Whereas, because Netwitness has a capacity of up to seven-layer protocol analysis, it can perform a more detailed analysis of packets.
Answer: (B) Lossless compression
Explanation:
According to the question, the given technique is the example of the lossless compression. The lossless compression is one of the technique that decompress the data into the original data form without any type of losses.
The lossless compression is the technique that usually compress the data, text and the databases. This technique also improve the compression rate helps in reconstruct the original data. It is used in various types of encoding methods, GNU tool and zip file.
Answer:
what is this a zoom a kahoot or what