最新回答 / qq_慕少0248350
String[] subjects = {0,1,2,3,4};这个句子定义的数字是subjects的元素subjects[0] = "Oracle";subjects[1] = "PHP";subjects[2] = "Linux";subjects[3] = "Java";subjects[4] = "HTML";而这五个句子里的数字代表数字元素的下标
2022-12-29
最新回答 / 廾匸
因为每个月是4周,我们要算出是第几个月,就用第几周除以4就好啦,不过我们还要考虑int只能存储整形,所以当有余数的时候就再加上1,比如是第五天,int型的5/4就会余下来一周,那么这一周已经是下一个月的了,所以加上1就好啦!
2022-12-09
最新回答 / 慕先生2348631
public class HelloWorld{ public static void main(String[] args) { int one = 10 ; int two = 20 ; int three=0; three=one+two; System.out.println("three=one+two==>"+three); three+=one; ((SYstm)).out.println(...
2022-11-24