摘要: 1.环境搭建,运行出来一个JSP页面,显式hello <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <!DOCTYPE html> <html> <head> <title>JSP - Hello Wo 阅读全文
posted @ 2022-03-05 23:47 于泓旭 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1.使用内部存储方式实现图片一 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://sche 阅读全文
posted @ 2021-10-31 16:18 于泓旭 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1.注册和充值实例: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.a 阅读全文
posted @ 2021-10-31 16:13 于泓旭 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 2.在界面1做一个按钮开启浏览器访问百度 package com.example.app6; import android.os.Bundle; import android.app.Activity; impor 阅读全文
posted @ 2021-10-06 13:34 于泓旭 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1.返回键实现对话框弹出是否退出应用程序 package com.example.commondialog; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; imp 阅读全文
posted @ 2021-09-25 23:03 于泓旭 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1.创建3个界面 第一个界面有3个button 第二个界面有单选按钮 学历:初中 高中 专科 本科 第三个界面有5个复选框 学过哪些课程 Java Ios Android Html Jsp 把第二个界面设置为启动界面 <?xml version="1.0" encoding="utf-8"?> <R 阅读全文
posted @ 2021-09-07 22:19 于泓旭 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 作业1:安装环境,截图编程界面,截图运行界面 作业2:九宫格 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:a 阅读全文
posted @ 2021-09-07 22:12 于泓旭 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Cola公司的雇员分为以下若干类:(知识点:多态) [必做题]• 4.1 ColaEmployee :这是所有员工总的父类,属性:员工的姓名,员工的生日月份。方法:getSalary(int month) 根据参数月份来确定工资,如果该月员工过生日,则公司会额外奖励100 元。• 4.2 Salar 阅读全文
posted @ 2021-06-17 21:12 于泓旭 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 2、设计2个类,要求如下:(知识点:类的继承 方法的覆盖) [必做题] 2.1 定义一个汽车类Vehicle, 2.1.1 属性包括:汽车品牌brand(String类型)、颜色clr (String类型)和速度speed(duble类型)。 2.1.2 至少提供一个有参的构造方法(要求品牌和颜色可 阅读全文
posted @ 2021-06-10 18:27 于泓旭 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1.定义一个点类Point,包含两个成员变量x,y分别表示x和y坐标,2个构造器Point( )和Point(int x0,int y0),以及一个movePoint(int dx,int dy)方法实现点的位置移动,创建两个Point对象p1、p2,分别调用movePoint方法后,打印p1和p2 阅读全文
posted @ 2021-05-25 15:23 于泓旭 阅读(77) 评论(0) 推荐(0) 编辑