「南通青鸟 IT 教育 103 班同学在 3 教室上崔老师的 Java 课」

编程入门 行业动态 更新时间:2024-10-25 20:26:17

「南通<a href=https://www.elefans.com/category/jswz/34/1436036.html style=青鸟 IT 教育 103 班同学在 3 教室上崔老师的 Java 课」"/>

「南通青鸟 IT 教育 103 班同学在 3 教室上崔老师的 Java 课」

package dodoke;public class student{  String name;   int age;        String clazz;   String room;   String group;   //小组   String address; //学生住址  String teacher; //教学老师  String course;  //课程  // 类变量  static String school = "渡课IT(原名青鸟IT)";  static String schooladdress = "南通市崇川区跃龙南路182号数字大厦二楼";  static String schoolhistory = "12年";  void Classing() {  System.out.println(this.teacher + "正在" + this.room + "给" + this.clazz + "上" + this.course);  }  String  CourseTeacher() {  return this.course + "由" + this.teacher + "负责";  }   static String SchoolInfor() {  return school + "位于" + schooladdress + "已经有" + schoolhistory + "的历史了";  }  TeacherInformation techer (String gender,int teacherage, String teacheradrress) {  return new TeacherInformation (gender, teacherage, teacheradrress);  }  public student() {  }  public student(String clazz, String room, String name, int age,String teacher,String course) {  this.clazz = clazz;  this.room = room;  this.name = name;  this.age = age;  this.teacher = teacher;  this.course = course;  }  }
package dodoke;  public class TeacherInformation {  String gender;  int teacherage;  String teacheradrress;  void information() {  System.out.println(this.teacherage + "岁以上的" + this.gender + "老师住在" + this.teacheradrress);  }  String information1(TeacherInformation TeacherInformation1) {  return TeacherInformation1.teacherage + "岁以上的" + TeacherInformation1.gender + "老师住在" + TeacherInformation1.teacheradrress;  }  public TeacherInformation(String gender, int teacherage, String teacheradrress) {  this.gender = gender;  this.teacherage = teacherage;  this.teacheradrress = teacheradrress;  }  
}

package dodoke;public class client {public static void main(String[] args) {  student stu = new student("java103", "三教室", "tom", 25, "崔老师", "java基础");  stu.Classing();System.out.println(stu.CourseTeacher());}
}



更多推荐

「南通青鸟 IT 教育 103 班同学在 3 教室上崔老师的 Java 课」

本文发布于:2024-03-13 03:04:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1733046.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:青鸟   南通   教室   同学   老师

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!