Related questions
Question 438 - H14-231_V1.0 discussion
Knowing the variable int a=123, which of the following codes can successfully print the value of variable a in the console?
A.
HiLog.info(LABEL,String.format('a =%d',a));
B.
HiLog.info(LABEL,'a=%(public)d',a);
C.
HiLog.info(LABEL,'a =%d',a);
D.
HiLog.info(LABEL,'a =%{private}d',a);
Your answer:
0 comments
Sorted by
Leave a comment first