What is required at line 6 in class SomeApp to use the process method of BitUtils?

Given classes defined in two different files:
package util;
public class BitUtils {
public static void process(byte[] b) { /* more code here */ }
}
1. package app;
2.
3. public class SomeApp {
4. public static void main(String[] args) {
5. byte[] bytes = new byte[256];
6. // insert code here
7. }
8. }
What is required at line 6 in class SomeApp to use the process method of BitUtils?
A. process(bytes);
B. BitUtils.process(bytes);
C. util.BitUtils.process(bytes);
D. SomeApp cannot use methods in BitUtils.
E. import util.BitUtils.*; process(bytes);

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.