摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.co 阅读全文
posted @ 2020-12-08 15:02 全世界和平 阅读(36) 评论(0) 推荐(0) 编辑
摘要: package com.example.bbb; import android.os.Bundle; import android.app.Activity; import android.content.ContentValues; import android.database.Cursor; 阅读全文
posted @ 2020-12-08 15:01 全世界和平 阅读(31) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2020-12-08 14:59 全世界和平 阅读(41) 评论(0) 推荐(0) 编辑
摘要: package com.example.sql; import android.os.Bundle; import android.app.Activity; import android.database.sqlite.SQLiteDatabase; import android.database 阅读全文
posted @ 2020-11-19 17:58 全世界和平 阅读(73) 评论(0) 推荐(0) 编辑
摘要: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ 阅读全文
posted @ 2020-11-19 17:56 全世界和平 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 九宫格<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android 阅读全文
posted @ 2020-09-22 22:46 全世界和平 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 安装android studio开发环境,并运行出一个helloworld程序(真机或模拟器运行),并截图 阅读全文
posted @ 2020-08-31 17:03 全世界和平 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 把多个企鹅的信息添加到集合中查看企鹅的数量及所有企鹅的信息删除集合中部分企鹅的元素判断集合中是否包含指定企鹅 package d25; import java.util.ArrayList; public class JH { public static void main(String[] arg 阅读全文
posted @ 2020-06-02 17:22 全世界和平 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 上机练习1.编写一个随机生成 10个 0(包括) 到 100 之间的随机正整数。 package d22; import java.util.Random; public class happend { public static void main(String[] args) { // TODO 阅读全文
posted @ 2020-05-28 15:09 全世界和平 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 本周作业:1.编写一个程序,实现字符串大小写的转换并倒序输出。要求如下(1)使用for循环将字符串“ Hello world”从最后一个字符开始遍历(2)遍历的当前字符如果是大写字符,就使用 toLower Case()方法将其转换为小写字符,反之则使用 toUpper Case()方法将其转换为大 阅读全文
posted @ 2020-05-26 18:22 全世界和平 阅读(131) 评论(0) 推荐(0) 编辑