摘要: package com.itheima; public class phonedemo01 { public static void main(String[] args) { //格式 phone p = new phone(); //使用成员变量 System.out.println(p.bra 阅读全文
posted @ 2022-11-07 22:05 NiceTwocu 阅读(15) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; public class phone { //成员变量 String brang; int price; public void call(){ System.out.println("打电话"); } public void message(){ Syst 阅读全文
posted @ 2022-11-07 21:56 NiceTwocu 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 定义类就是用JAVA语言描述对象的属性和行为 阅读全文
posted @ 2022-11-07 21:49 NiceTwocu 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 写插入语句 --给指定列添加数据 INSERT INTO stu(id,username)values(1,"张三")Mysql中关于 错误 1366 - Incorrect string value: #### '\xE5\xBC\xA0\xE4\xB8\x89' for column 'name 阅读全文
posted @ 2022-11-07 21:45 NiceTwocu 阅读(31) 评论(0) 推荐(0) 编辑