摘要: 1.p39 实验2 显示当前时间,并输出上午(0-12)好,下午好(13-17),晚上好(18-23) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <%@ page language="j 阅读全文
posted @ 2022-03-16 18:28 我什么时候能有只猫 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 环境搭建,运行出来一个JSP页面,显式hello 英文字母表 <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String 阅读全文
posted @ 2022-03-03 21:07 我什么时候能有只猫 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.c 阅读全文
posted @ 2021-11-01 15:16 我什么时候能有只猫 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 package com.example.work; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; i 阅读全文
posted @ 2021-10-08 20:16 我什么时候能有只猫 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1.返回键实现对话框弹出是否退出应用程序 package com.example.homework; import androidx.appcompat.app.AppCompatActivity; import android.app.AlertDialog; import android.con 阅读全文
posted @ 2021-09-25 21:10 我什么时候能有只猫 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1.创建3个界面 第一个界面有3个button 第二个界面有单选按钮 学历:初中 高中 专科 本科 第三个界面有5个复选框 学过哪些课程 Java Ios Android Html Jsp 把第二个界面设置为启动界面 <?xml version="1.0" encoding="utf-8"?> <L 阅读全文
posted @ 2021-09-03 11:38 我什么时候能有只猫 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 作业1:安装环境,截图编程界面,截图运行界面 作业2:九宫格 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" andro 阅读全文
posted @ 2021-08-27 22:48 我什么时候能有只猫 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Cola公司的雇员分为以下若干类:(知识点:多态) [必做题]• 4.1 ColaEmployee :这是所有员工总的父类,属性:员工的姓名,员工的生日月份。方法:getSalary(int month) 根据参数月份来确定工资,如果该月员工过生日,则公司会额外奖励100 元。• 4.2 Salar 阅读全文
posted @ 2021-06-17 00:24 我什么时候能有只猫 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 null 恢复内容结束 阅读全文
posted @ 2021-06-07 17:11 我什么时候能有只猫 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1.定义一个点类Point, 包含2个成员变量x、y分别表示x和y坐标,2个构造器Point()和Point( intx0,y0),以及一个movePoint (int dx,intdy)方法实现点的位置移动,创建两个Point对象p1、p2, 分别调用movePoint方法后,打印pl和p2的坐标 阅读全文
posted @ 2021-05-24 17:19 我什么时候能有只猫 阅读(52) 评论(0) 推荐(0) 编辑