09 2022 档案

摘要:水果结算程序import java.util.Scanner;public class Fruit { // 水果结算程序 IPO:输入 处理 输出 // 普通顾客 12元/kg 会员价 11元/kg // 买满 10kg * 0.8 优惠券 满100 -10 200 -30 300 -50 500 阅读全文
posted @ 2022-09-14 09:08 luyuan66 阅读(45) 评论(0) 推荐(0)
摘要:public class Study01 { public static void main(String[] args) { // ++ -- 自增 自减 一元运算符 注意在前还是在后 运算先后不一致 注意区分 此知识点 比较重要 int a = 3; System.out.println(a); 阅读全文
posted @ 2022-09-12 16:27 luyuan66 阅读(27) 评论(0) 推荐(0)
摘要:Java学习 变量与常量 public class Studyy1 { public static void main(String[] args) { //变量:就是可以变化的量。 //Java是一种强类型语言,每个变量都必须声明其类型。 //Java是程序中最基本的存储单元,其要素包括 变量名 阅读全文
posted @ 2022-09-12 10:03 luyuan66 阅读(57) 评论(0) 推荐(0)
摘要:数据类型基础与拓展 import java.security.spec.RSAOtherPrimeInfo;import java.sql.SQLOutput;​public class study2 { public static void main(String[] args) { // 八大基 阅读全文
posted @ 2022-09-10 23:43 luyuan66 阅读(171) 评论(0) 推荐(0)