Givenclassesdefinedintwodifferentfiles:1.packageutil;2.publicclassBitUtils{3.publicstaticvoidprocess(byte[]){/*morecodehere*/}4.}1.packageapp;2.publicclassSomeApp{3.publicstaticvoidmain(String[]args){4.byte[]bytes=newbyte[256];5.//insertcodehere6.}7.}Whatisrequiredatline5inclassSomeApptousetheprocessmethodofBitUtils?()A.process(bytes);B.BitUtils.process(bytes);C.util.BitUtils.process(bytes);D.SomeAppcannotusemethodsinBitUtils.E.importutil.BitUtils.*;process(bytes);

Givenclassesdefinedintwodifferentfiles:1.packageutil;2.publicclassBitUtils{3.publicstaticvoidprocess(byte[]){/*morecodehere*/}4.}1.packageapp;2.publicclassSomeApp{3.publicstaticvoidmain(String[]args){4.byte[]bytes=newbyte[256];5.//insertcodehere6.}7.}Whatisrequiredatline5inclassSomeApptousetheprocessmethodofBitUtils?()

A.process(bytes);

B.BitUtils.process(bytes);

C.util.BitUtils.process(bytes);

D.SomeAppcannotusemethodsinBitUtils.

E.importutil.BitUtils.*;process(bytes);


相关考题:

Givenclassesdefinedintwodifferentfiles:WhatistheresultofexecutingXMLMessage.main?() A.textB.Compilationfails.C.msgtext/msgD.Anexceptionisthrownatruntime.

Given classes defined in two different files: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=newbyte[256];5.//insert code here6.}7.}What is required at line 5 in class SomeApp to use the process method of BitUtils?()A.process(bytes);B.BitUtils.process(bytes);C.app.BitUtils.process(bytes);D.util.BitUtils.process(bytes);E.importutil.BitUtils.*;process(bytes);F.SomeApp cannot use the process method in BitUtils.

Given classes defined in two different files:What is required at line 5 in class SomeApp to use the process method of BitUtils?() A.process(bytes);B.BitUtils.process(bytes);C.app.BitUtils.process(bytes);D.util.BitUtils.process(bytes);E.import util.BitUtils.*; process(bytes);F.SomeApp cannot use the process method in BitUtils.