魔幻的猫头鹰

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2021年11月4日

摘要: 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:18 魔幻的猫头鹰 阅读(25) 评论(0) 推荐(0) 编辑

2021年10月8日

摘要: package com.example.chap5; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogIn 阅读全文
posted @ 2021-10-08 19:26 魔幻的猫头鹰 阅读(14) 评论(0) 推荐(0) 编辑

摘要: 1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 2.在界面1做一个按钮开启浏览器访问百度 LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="h 阅读全文
posted @ 2021-10-08 19:21 魔幻的猫头鹰 阅读(16) 评论(0) 推荐(0) 编辑

2021年4月23日

摘要: package test; import java.util.Scanner; public class test { public static void main(String args[]){ //编写一个简单程序,要求数组长度为5,分别赋值10,20,30,40,50,在控制台输出该数组的值 阅读全文
posted @ 2021-04-23 17:28 魔幻的猫头鹰 阅读(79) 评论(0) 推荐(0) 编辑

2021年4月16日

摘要: package test; public class test { public static void main(String args[]){ //编写一个简单程序,要求数组长度为5,静态赋值10,20,30,40,50,在控制台输出该数组的值。 int arr[] ={10,20,30,40, 阅读全文
posted @ 2021-04-16 15:20 魔幻的猫头鹰 阅读(31) 评论(0) 推荐(0) 编辑

2021年4月9日

摘要: package test; public class test1 { public static void main(String args[]){ //使用for循环计算1-100的和,除了以3结尾的那些数 int sum = 0; for(int x = 1;x<=100;x++){ if(x% 阅读全文
posted @ 2021-04-09 20:29 魔幻的猫头鹰 阅读(186) 评论(0) 推荐(0) 编辑

2021年4月7日

摘要: package test; public class test { public static void main(String args[]){ //分别用for循环,while循环,do循环求1到100之间的所有被3整除的和 int a = 1; int b = 100; while(a<=b) 阅读全文
posted @ 2021-04-07 20:39 魔幻的猫头鹰 阅读(35) 评论(0) 推荐(0) 编辑

2021年3月26日

摘要: 1.输入年份,判断是不是闰年 package test; import java.util.Scanner; public class test1 { public static void main(String args[]){ //输入年份,判断是不是闰年 Scanner input = new 阅读全文
posted @ 2021-03-26 20:12 魔幻的猫头鹰 阅读(44) 评论(0) 推荐(0) 编辑

2021年3月8日

摘要: 1.package testhomework; public class homework { public static void main(String[] args) { System.out.println("193230118"+"计算机1901"+"齐泽浩"); }}2.package 阅读全文
posted @ 2021-03-08 10:17 魔幻的猫头鹰 阅读(35) 评论(0) 推荐(0) 编辑