简答题:本题的功能是获得字符串“China”的长度和最后一个字符,并将这些信息打印出来。 public class javal(

  • 题目分类:Java
  • 题目类型:简答题
  • 查看权限:VIP
题目内容:
本题的功能是获得字符串“China”的长度和最后一个字符,并将这些信息打印出来。
public class javal(
public static void main(String[]args){

str="China";
int n=0:

char C;

System.out.println("字符串中共有"+n+"个字
符,最后一个字符是:"+c);
}
}
参考答案:
答案解析:

本题中,通过菜单“Connect”显示一个对话框,单击“ok”按钮后,所填写的内容就会传回到主窗口并显示出来。 impo

本题中,通过菜单“Connect”显示一个对话框,单击“ok”按钮后,所填写的内容就会传回到主窗口并显示出来。 import java.awt.* ; im

查看答案

________is the only animal that can speak.

________is the only animal that can speak. A.The man B.A man C.Man D.Men

查看答案

The bus__________yesterday.

The bus__________yesterday. A.repaired B.is repaired C.was repaired

查看答案

38.In the last paragraph”landing gear up” probably means __

38.In the last paragraph”landing gear up” probably means ______.A.following fly

查看答案

37.The author deepened his understanding of the power of CRM

37.The author deepened his understanding of the power of CRM when_______.A.he s

查看答案