herrDeng網內搜尋

自訂搜尋

Ads

2014年5月27日 星期二

Java作業11建立student物件

類別student

36 則留言:

B10233082 唐偉強 提到...

package azazazazaza;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class vfvfvfvf {



public static void main(String[] args) {
student X=new student("王小名",12334567,70);

X.show();


}

}

B10233091許少威 提到...

package hello0527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex2 {

public static void main(String[] args) {
student x=new student("屁綱",92,10);
x.show();
}
}

B10233067 提到...

package hello0527;
class Student{
String name;
int id;
int score;
Student(){
}

Student(String name, int id,int score) {
this.name = name;
this.id = id;
this.score = score;
}

void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {
public static void main(String[] args) {
Student X=new Student("小明",5,60);
X.show();
}
}

B10233089 提到...

package hello527;
class student{
String name ;
int id;
int score;
student( ){
}
student(String name,int id,int score) {
this.name =name;
this.id = id;
this. score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {
public static void main(String[] args) {
student x=new student ("娜娜",2,80);
x.show();
}
}

B10233081 藍立凱 提到...

package hello;
class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex2 {

public static void main(String[] args) {
student x=new student("汁綱",92,0);
x.show();
}
}

B10233103 提到...

package zxc;
class student {
String name;
int id;
int score;
student(String x, int id, int score) {
name = x ;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}

public class cxz {

public static void main(String[] args) {
student x = new student("慾蟑",100,59);
x.show();
}

}

B10233102 提到...

package zxc;
class student {
String name;
int id;
int score;
student(String x, int id, int score) {
name = x ;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}

public class cxz {

public static void main(String[] args) {
student x = new student("慾蟑",100,59);
x.show();
}

}

B10233069連于傑 提到...

package Hello527;

class IcCard{
String name;
int id;
int Score;
student(String x,int id ,int Score){
name=x;
this.id=id;
this.Score=Score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("Score:"+Score);
}
}
public class Ex1 {
public static void main(String[] args) {
Student x=new Student("連于傑",B10233069,80);
X.show();
}
}

B10233063 張宜禎 提到...

package hello0527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("禎禎",63,60);
x.show();
}
}

B10233076呂姿瑩 提到...

package hello;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("XD",92,10);
x.show();
}
}

B10233084 陳億如 提到...

package hello0527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("1如",84,100);
x.show();
}
}

B10233084 陳億如 提到...

package hello0527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("1如",84,100);
x.show();
}
}

B10233061 吳興強 提到...

class student{
String name;
int id;
int score;

student(String x,int y,int z){
name = x;
id = y;
score = z;
}

void show () {
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score="+score);

}
}

public class ex1 {

public static void main(String[] args) {


student X=new student("小強",61,100);
X.show();

}

}

B10233075 提到...

package hello;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class hello0527 {

public static void main(String[] args) {
student x=new student("如華",75,70);
x.show();
}
}

B10233064莊英霆 提到...

package kevin;

class ex1 {
String name;
int id;
int score;
ex1(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}

public static void main(String[] args) {

ex1 x=new ex1("小霉",8,90);
x.show();
}

}

b10233072黃君寰 提到...

package ff;

class IcCard{
long id;
int money;
IcCard(){
}

IcCard(long id, int money){
this.id = id;
this.money = money;
}

void show(){
System.out.println("id:"+id);
System.out.println("money:"+money);
}
}
public class dd {
public static void main(String[] args) {
IcCard X=new IcCard(0x336789AB,300);
X.show();

}

}

B10233097 邱宥甄 提到...

package qqqq;

class student{
String name;
int id;
int score;
student(String x, int id,int score) {
name = x ;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}

public class qq {

public static void main(String[] args) {
student x =new student("啾啾",3,70);
x.show();
}
}

b10233072黃君寰 提到...

package ff;
class student{
String name;
int id;
int score;
student(String x, int id, int score) {
name = x;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name;"+name);
System.out.println("id;"+id);
System.out.println("score;"+score);
}
}

public class ss {

public static void main(String[] args) {
student X=new student("小華",6,68);
X.show();

}

}

B10233098 陳孟緣 提到...

class student{
String name;
int id;
int score;
student(String x, int id, int score) {
name = x;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}

public class ASD {

public static void main(String[] args) {
student x=new student("陳緣",6,68);
x.show();
}
}

b10233080陳芊慈 提到...

package xx;
class student{
String name;
int id;
int score;
student(String x, int id,int score) {
name = x;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name;"+name);
System.out.println("id;"+id);
System.out.println("score;"+score);
}
}
public class xxx {


public static void main(String[] args) {
student X =new student("A夢",6,68);
X.show();

}



}

B10233095李元宏 提到...

package asdfghjk;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class zxcvbnm {



public static void main(String[] args) {
student X=new student("王小名",12334567,70);

X.show();


}

}

b10233109 提到...

package hello;
class student{
String name;
int id;
int score;
student(String x, int id, int score) {
name = x;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class hello {

public static void main(String[] args) {
// TODO Auto-generated method stub
student x=new student("小華",6,68);
x.show();
}

}

b10233068 邱佳函 提到...

package hello527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("佳函",68,100);
x.show();
}
}

b10233065 提到...

package hello0527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("阿玲",65,100);
x.show();
}
}

B10233086 張進億 提到...

package yoooooo;
class student{
String name;
int id;
int score;
student(String x, int id, int score) {
name = x;
this.id = id;
this.score = score;
}
void show(){
System.out.println("姓名"+name);
System.out.println("學號"+id);
System.out.println("分數"+score);
}
}
public class yooooo2 {

public static void main(String[] args) {
student X=new student("蘿莉舔舔",10233086,100);
X.show();
}
}

B10233062 黃聖評 提到...

package she1111;
class student{
String name;
int id;
int score;
student(String x,int id,int score){
name=x;
this.id = id;
this.score = score;

}


void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class she1111 {
public static void main(String[]args){
student X=new student("小華",6,68);
X.show();
}
}

b10233066張哲毓 提到...

package ff;

class IcCard{
long id;
int money;
IcCard(){
}

IcCard(long id, int money){
this.id = id;
this.money = money;
}

void show(){
System.out.println("id:"+id);
System.out.println("money:"+money);
}
}
public class dd {
public static void main(String[] args) {
IcCard X=new IcCard(0x336789AB,300);
X.show();

}

}

b10233066張哲毓 提到...

package ff;
class student{
String name;
int id;
int score;
student(String x, int id, int score) {
name = x;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name;"+name);
System.out.println("id;"+id);
System.out.println("score;"+score);
System.out.println("========================================");
}
}

public class ss {

public static void main(String[] args) {
student X[]=new student[3];
X[0]=new student("小三",3,59);
X[1]=new student("白杞",6,78);
X[2]=new student("小小",9,99);
for(int i=0; i<X.length;i++)
X[i].show();

}

}

B10233090 提到...

package hjsjs;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}

}

public class jsjsjsjj {

public static void main(String[] args) {
student X=new student("胖仔",103,59);

X.show();

}

}

B10233087 黃少洋 提到...

package QWERTYUI;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class TYUJK,L {



public static void main(String[] args) {
student X=new student("王小名",12334567,70);

X.show();


}

}

Y10211064 黃耀葦 提到...

package DDDDDFF;

class SSSDFFVF{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class vfvfvfvf {



public static void main(String[] args) {
student X=new student("王小名",12334567,70);

X.show();


}

}

B10233110 徐上竣 提到...

package ASD123;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class vfvfvfvf {



public static void main(String[] args) {
student X=new student("王BB",12334567,70);

X.show();


}

}

B10233073 楊博宇 提到...

package roger665;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class vfvfvfvf {



public static void main(String[] args) {
student X=new student("王xx",12334567,70);

X.show();


}

}

B10233074 許逸憲 提到...

package GFFTJGFFJ;

class student{
String name;
int id;
int score;
student(String name, int id, int score) {
super();
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class vfvfvfvf {



public static void main(String[] args) {
student X=new student("王GG",12334567,70);

X.show();


}

}

B10233092 提到...

package hello;
class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex2 {

public static void main(String[] args) {
student x=new student("綱",92,0);
x.show();
}
}

B10233070劉思涵 提到...

package hello527;

class student{
String name;
int id;
int score;
public student(String name, int id, int score) {
this.name = name;
this.id = id;
this.score = score;
}
void show(){
System.out.println("name:"+name);
System.out.println("id:"+id);
System.out.println("score:"+score);
}
}
public class ex1 {

public static void main(String[] args) {
student x=new student("思涵",68,100);
x.show();
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章