摘要: 环境搭建,运行出来一个JSP页面,显式hello <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitiona 阅读全文
posted @ 2022-03-06 14:13 33。 阅读(10) 评论(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-11-04 22:39 33。 阅读(26) 评论(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-24 21:50 33。 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2021-10-07 22:53 33。 阅读(20) 评论(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.co 阅读全文
posted @ 2021-10-07 22:30 33。 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/rl_1" android:la 阅读全文
posted @ 2021-10-07 22:20 33。 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1. package com.example.myapplication; import android.app.AlertDialog; import android.os.Bundle; import android.app.Activity; import android.content.Di 阅读全文
posted @ 2021-09-26 16:46 33。 阅读(29) 评论(0) 推荐(0) 编辑
摘要: Cola公司的雇员分为以下若干类:(知识点:多态) [必做 题]• 4.1 ColaEmployee :这是所有员工总的父类,属性:员工的姓名,员工的生日月份。方法:getSalary(int month) 根据参数月份来确定工资,如果该月员工过生日,则公司会额外奖励100 元。• 4.2 Sala 阅读全文
posted @ 2021-06-17 22:32 33。 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 2、设计2个类,要求如下:(知识点:类的继承 方法的覆 盖) [必做题] 2.1 定义一个汽车类Vehicle, 2.1.1 属性包括:汽车品牌brand(String类型)、颜色clr (String类型)和速度speed(duble类型)。 2.1.2 至少提供一个有参的构造方法(要求品牌和颜色 阅读全文
posted @ 2021-06-17 21:27 33。 阅读(91) 评论(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:31 33。 阅读(49) 评论(0) 推荐(0) 编辑