摘要: 1. <body> <% Calendar c=Calendar.getInstance(); int h=c.get(Calendar.HOUR); int m=c.get(Calendar.MINUTE); int s=c.get(Calendar.SECOND); String a="";// 阅读全文
posted @ 2022-03-13 16:00 jth12 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1. 2.字母表 <body> <h3>zimu</h3> <p style="font-fimily:宋体;font-size:15;colo:red"> <% char a; char b; for(a='A';a<='Z';a++){ b=(char)(a+32); out.print(a+" 阅读全文
posted @ 2022-03-06 12:27 jth12 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 一 用内部存储实现文件写入和读取功能 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http:/ 阅读全文
posted @ 2021-11-02 21:38 jth12 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1三个界面,界面1点击按钮使用显式意图开启界面2. 界面2点击按钮隐式意图开启界面3,在界面1做一个按钮开启浏览器访问百度 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="ht 阅读全文
posted @ 2021-10-07 16:41 jth12 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1. package com.example.myapplication1; import androidx.appcompat.app.AppCompatActivity; import android.app.AlertDialog; import android.content.DialogI 阅读全文
posted @ 2021-09-23 18:58 jth12 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" andr 阅读全文
posted @ 2021-09-05 07:31 jth12 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1. 2. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:orientation="vertical" android:layout_margin="15dp" android:background="#01DFD7" 阅读全文
posted @ 2021-08-27 13:29 jth12 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 1.package java11; public class ColaEmployee { private String name; private int month; public String getName() { return name; } public void setName(Str 阅读全文
posted @ 2021-06-14 19:05 jth12 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1. package sdf; public class Vehicle { private String brand; private String color; private double speed; public Vehicle(){ super(); } public String ge 阅读全文
posted @ 2021-06-07 20:38 jth12 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1. package java10; public class Point { int x; int y; public Point(){ } public Point(int x0,int y0){ this.x=x0; this.y=y0; } public void movePoint(int 阅读全文
posted @ 2021-05-24 16:57 jth12 阅读(34) 评论(0) 推荐(0) 编辑