Declarations and Access Control Logic
© examsiri.com
Question : 5 of 29
Marks:
+1,
-0
Given classes defined in two different files:
What is required at line 5 in class SomeApp to use the process method of BitUtils?
1. package util;
2. public class BitUtils {
3.   private static void process(byte[] b) {}
4. }
1. package app;
2. public class SomeApp {
3.   public static void main(String[] args) {
4.    byte[] bytes = new byte[256];
5.    /*insert code here*/
6.   }
7. }What is required at line 5 in class SomeApp to use the process method of BitUtils?
Go to Question: