摘要: 1.环境搭建,运行出来一个JSP页面,显式hello 2.英文字母表 <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 T 阅读全文
posted @ 2022-03-02 13:13 计算机1901万家乐 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1.图片一 用内部存储实现文件写入和读取功能 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http 阅读全文
posted @ 2021-11-04 21:40 计算机1901万家乐 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 2.在界面1做一个按钮开启浏览器访问百度 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools 阅读全文
posted @ 2021-10-08 19:08 计算机1901万家乐 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 1. package com.example.myapplication; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.conte 阅读全文
posted @ 2021-09-25 21:36 计算机1901万家乐 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1.创建3个界面 第一个界面有3个button 第二个界面有单选按钮 学历:初中 高中 专科 本科 第三个界面有5个复选框 学过哪些课程 Java Ios Android Html Jsp 把第二个界面设置为启动界面 <?xml version="1.0" encoding="utf-8"?> <L 阅读全文
posted @ 2021-09-06 20:41 计算机1901万家乐 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1. 2. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/v_0" android: 阅读全文
posted @ 2021-09-06 20:27 计算机1901万家乐 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1. package School.Day13; public class ColaEmployee { String name; int month; double money; public double getSalary(int month){ if (month == this.month 阅读全文
posted @ 2021-06-18 18:32 计算机1901万家乐 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1. package com.oop; public class Vehicle { String brand; String color; double speed; public Vehicle() { super(); } public Vehicle(String brand, String 阅读全文
posted @ 2021-06-07 19:49 计算机1901万家乐 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1. package work; import work.Point; public class test { public static void main(String[] args) { Point x1 = new Point(3.0, 5.5); Point x2 = new Point( 阅读全文
posted @ 2021-05-25 14:32 计算机1901万家乐 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1.编写一个方法,实现冒泡排序(由小到大),并调用该方法 package work; public class test { public static void main(String[] args) { int[] a = { 3, 9, 5, 45, 67, 99, 56 }; test.mp 阅读全文
posted @ 2021-05-10 16:12 计算机1901万家乐 阅读(42) 评论(0) 推荐(0) 编辑