2020年12月20日

摘要: package com.example.android; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatab 阅读全文
posted @ 2020-12-20 19:24 孙英哲 阅读(59) 评论(0) 推荐(0) 编辑
 
摘要: package hhh.com.myapplication; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpe 阅读全文
posted @ 2020-12-20 19:22 孙英哲 阅读(84) 评论(0) 推荐(0) 编辑
 
摘要: package hhh.com.myapplication; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.EditText; i 阅读全文
posted @ 2020-12-20 19:19 孙英哲 阅读(77) 评论(0) 推荐(0) 编辑
 
摘要: package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.app.Activity; import andr 阅读全文
posted @ 2020-12-20 19:13 孙英哲 阅读(81) 评论(0) 推荐(0) 编辑

2020年11月3日

摘要: package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.view.View; 阅读全文
posted @ 2020-11-03 20:46 孙英哲 阅读(98) 评论(0) 推荐(0) 编辑
 
摘要: activity_main.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_wid 阅读全文
posted @ 2020-11-03 20:44 孙英哲 阅读(56) 评论(0) 推荐(0) 编辑

2020年8月31日

摘要: 阅读全文
posted @ 2020-08-31 13:00 孙英哲 阅读(105) 评论(0) 推荐(0) 编辑

2020年6月3日

摘要: 把多个企鹅的信息添加到集合中查看企鹅的数量及所有企鹅的信息删除集合中部分企鹅的元素判断集合中是否包含指定企鹅 package pra; import java.util.ArrayList; public class Text2 { public static void main(String[] 阅读全文
posted @ 2020-06-03 13:25 孙英哲 阅读(99) 评论(0) 推荐(0) 编辑

2020年5月28日

摘要: 1.编写一个程序,实现字符串大小写的转换并倒序输出。要求如下(1)使用for循环将字符串“ Hello world”从最后一个字符开始遍历(2)遍历的当前字符如果是大写字符,就使用 toLower Case()方法将其转换为小写字符,反之则使用 toUpper Case()方法将其转换为大写字符。( 阅读全文
posted @ 2020-05-28 15:53 孙英哲 阅读(57) 评论(0) 推荐(0) 编辑
 
摘要: 1.编写一个随机生成 10个 0(包括) 到 100 之间的随机正整数。 2.通过电子版教材或者视频,自学Date类和SimpleDateFormat类,用以下格式输出 系统当前时间 公元2020年05月28日:今天是2020年的第149天,星期四 3.输入一个邮箱地址,判断是否合法.如果合法,输出 阅读全文
posted @ 2020-05-28 15:50 孙英哲 阅读(140) 评论(0) 推荐(0) 编辑