摘要: 1.搭建环境,建个工程,输出hello <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="<%=basePath%>"> <title>My JSP 'index.jsp 阅读全文
posted @ 2022-03-06 16:52 计算机1904李傲 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match 阅读全文
posted @ 2021-11-04 21:25 计算机1904李傲 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 <Button android:id="@+id/bt_1" android:layout_width="wrap_content" android:layout_height="wrap_content" and 阅读全文
posted @ 2021-10-09 14:47 计算机1904李傲 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1.返回键实现对话框弹出是否退出应用程序 package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.app.AlertDialog; import androi 阅读全文
posted @ 2021-09-26 18:14 计算机1904李傲 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1.创建3个界面 第一个界面有3个button 第二个界面有单选按钮 学历:初中 高中 专科 本科 第三个界面有5个复选框 学过哪些课程 Java Ios Android Html Jsp 把第二个界面设置为启动界面 <?xml version="1.0" encoding="utf-8"?> <R 阅读全文
posted @ 2021-09-03 20:35 计算机1904李傲 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 作业1:安装环境,截图编程界面,截图运行界面 作业2:九宫格 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns 阅读全文
posted @ 2021-08-29 13:02 计算机1904李傲 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 1.分别使用for循环,while循环,do循环求1到100之间所有能被3整除的整数的和。(知识点:循环语句) while循环 public class TEXT1 { /** * @param args */ public static void main(String[] args) { // 阅读全文
posted @ 2021-04-07 17:52 计算机1904李傲 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1.输入一个年份,判断是不是闰年(能被4整除但不能被100整除,或者能被400整除) import java.util.Scanner; public class text { /** * @param args */ public static void main(String[] args) { 阅读全文
posted @ 2021-03-30 16:52 计算机1904李傲 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1.编写一个程序,定义圆的半径,求圆的面积. import java.util.Scanner; public class QWER{ /** * @param args */ public static void main(String[] args) { // TODO Auto-generat 阅读全文
posted @ 2021-03-14 16:26 计算机1904李傲 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1.输出学号班级和姓名 public class Exe03 { /** * @param args */ public static void main(String[] args) { System.out.println("193230412计算机1904李傲"); } 2.输出以下图形 * 阅读全文
posted @ 2021-03-07 21:36 计算机1904李傲 阅读(46) 评论(0) 推荐(0) 编辑