摘要: <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> <% String path = request.getContextPath(); String basePath = request.getSche 阅读全文
posted @ 2022-03-06 12:03 计算机1905石红岩 阅读(29) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.co 阅读全文
posted @ 2021-11-09 14:39 计算机1905石红岩 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 图片一 用内部存储实现文件写入和读取功能 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http:/ 阅读全文
posted @ 2021-10-31 18:39 计算机1905石红岩 阅读(24) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ 阅读全文
posted @ 2021-10-21 18:08 计算机1905石红岩 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 2.在界面1做一个按钮开启浏览器访问百度 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.and 阅读全文
posted @ 2021-10-03 14:23 计算机1905石红岩 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1.返回键实现对话框弹出是否退出应用程序 package cn.itcase.commondialog; import android.os.Bundle;import android.app.AlertDialog; import android.content.DialogInterface; 阅读全文
posted @ 2021-09-24 21:16 计算机1905石红岩 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1.创建3个界面 第一个界面有3个button 第二个界面有单选按钮 学历:初中 高中 专科 本科 第三个界面有5个复选框 学过哪些课程 Java Ios Android Html Jsp 把第二个界面设置为启动界面 <?xml version="1.0" encoding="utf-8"?> <? 阅读全文
posted @ 2021-09-05 17:17 计算机1905石红岩 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 作业1:安装环境,截图编程界面,截图运行界面 作业2:九宫格 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns 阅读全文
posted @ 2021-08-28 22:08 计算机1905石红岩 阅读(43) 评论(0) 推荐(0) 编辑
摘要: Cola公司的雇员分为以下若干类:(知识点:多态) [必做题] • 4.1 ColaEmployee :这是所有员工总的父类,属性:员工的姓名,员工的生日月份。方法:getSalary(int month) 根据参数月份来确定工资,如果该月员工过生日,则公司会额外奖励100 元。• 4.2 Sala 阅读全文
posted @ 2021-06-16 14:02 计算机1905石红岩 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 2、设计2个类,要求如下:(知识点:类的继承 方法的覆盖) [必做题] 2.1 定义一个汽车类Vehicle, 2.1.1 属性包括:汽车品牌brand(String类型)、颜色clr (String类型)和速度speed(duble类型)。 2.1.2 至少提供一个有参的构造方法(要求品牌和颜色可 阅读全文
posted @ 2021-06-08 12:10 计算机1905石红岩 阅读(44) 评论(0) 推荐(0) 编辑