下面程序的功能是统计字符串中“array”的个数,在程序的空白处应填入的正确选项是 public class FindKeyWords{ public static void main(String[]args) { String text="An array is a data structur that stores a collection of" +"values of the same type. You access each indMdual value" +"through an integer index. For example,if a is an array" +"of inergers,then a[i]is the ith integer in the array."; int arrayCount=0; int index=-1; String arrayStr="array"; index=text.indexOf(arrayStr); while(index>=0) { ++arrayCount; index+=arrayStr.length(); index=text.indexOf(arrayStr,index); } System.out.println("the text contains"+arrayCount+"arrays"); } }
A.<
B. =
C.<=
D.>=
第7题
四联增值税发票依次为()。
A.抵扣联、发票联、存根联和记账联
B.记账联、发票联、抵扣联和存根联
C.存根联、发票联、抵扣联和记账联
D.存根联、抵扣联、发票联和记账联
第9题
普通发票的基本联次中,开票方作为记账原始凭证的是()。
A.存根联
B.发票联
C.记账联
D.税款抵扣联
第10题
普通发票的基本联次中,()是开票方作为记账的原始凭证。
A.存根联
B.发票联
C.记账联
D.税款抵扣联
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!