摘要: <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head 阅读全文
posted @ 2022-03-28 20:03 藜莂 阅读(18) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.co 阅读全文
posted @ 2021-11-01 18:42 藜莂 阅读(17) 评论(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-07 14:35 藜莂 阅读(11) 评论(0) 推荐(0) 编辑
摘要: package com.example.an; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.u 阅读全文
posted @ 2021-10-07 14:25 藜莂 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1.返回键实现对话框弹出是否退出应用程序 package com.example.myapplication; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; import 阅读全文
posted @ 2021-09-24 23:20 藜莂 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 2.九宫格 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.andr 阅读全文
posted @ 2021-08-27 14:21 藜莂 阅读(41) 评论(0) 推荐(0) 编辑
摘要: package Vehicle; public abstract class ColaEmployee { String name; int month ; int day ; int year; public ColaEmployee() { } public ColaEmployee(Strin 阅读全文
posted @ 2021-06-17 18:59 藜莂 阅读(35) 评论(0) 推荐(0) 编辑
摘要: public class Vehicle { private String brand; private String color; private double speed; public String getBrand() { return brand; } public void setBra 阅读全文
posted @ 2021-06-16 21:00 藜莂 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1. package zy; public class test1 { int x; int y; test1() { } test1(int x0, int y0) { this.x = x0; this.y = y0; } public void movePoint(int dx, int dy 阅读全文
posted @ 2021-05-23 23:23 藜莂 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 1.编写一个方法,实现冒泡排序(由小到大),并调用该方法2.编写一个方法,求整数n的阶乘,例如5的阶乘是1*2*3*4*5。 [必做题]3.编写一个方法,判断该年份是平年还是闰年。[必做题]4.课堂没完成的menu菜单,实现幸运抽奖功能 package test; public class test 阅读全文
posted @ 2021-05-08 13:58 藜莂 阅读(46) 评论(0) 推荐(0) 编辑