摘要:
1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match 阅读全文
摘要:
1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match 阅读全文
摘要:
package com.example.chap5; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogIn 阅读全文
摘要:
1.三个界面,界面1点击按钮使用显式意图开启界面2.界面2点击按钮隐式意图开启界面3 2.在界面1做一个按钮开启浏览器访问百度 LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="h 阅读全文
摘要:
package test; import java.util.Scanner; public class test { public static void main(String args[]){ //编写一个简单程序,要求数组长度为5,分别赋值10,20,30,40,50,在控制台输出该数组的值 阅读全文
摘要:
package test; public class test { public static void main(String args[]){ //编写一个简单程序,要求数组长度为5,静态赋值10,20,30,40,50,在控制台输出该数组的值。 int arr[] ={10,20,30,40, 阅读全文
摘要:
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% 阅读全文
摘要:
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) 阅读全文
摘要:
1.输入年份,判断是不是闰年 package test; import java.util.Scanner; public class test1 { public static void main(String args[]){ //输入年份,判断是不是闰年 Scanner input = new 阅读全文
摘要:
1.package testhomework; public class homework { public static void main(String[] args) { System.out.println("193230118"+"计算机1901"+"齐泽浩"); }}2.package 阅读全文
|