摘要:
package gh; class xs{ //成员变量 int xh; String xm; int sx; int yw; int yy; //构造方法 xs(int xh1,String xm1,int sx1,int yw1,int yy1) { xh=xh1; xm=xm1; sx=sx1 阅读全文
摘要:
public class flower1 { public static void main(String[] args) { // TODO Auto-generated method stub int i=0; int x,y,z; System.out.print("水仙花数为"); for( 阅读全文
摘要:
/*package gl; //建立学生类xsclass xs{ //数据成员变量 int xh; String xm; String xb; int nl; //成员方法 public void showxs() { System.out.println("学号:"+xh); System.out 阅读全文
摘要:
package com.company; import java.util.Scanner; public class Main { int search(int a[],int number) { int high = a.length-1; int mid = 0; int low = 0; w 阅读全文