摘要: 1 //程序员:马相露 2 import java.util.Scanner; 3 public class L { 4 5 public static void main(String[] args) { 6 System.out.println("5+5="+5+5); 7 8 ... 阅读全文
posted @ 2017-12-18 14:19 mxl-1 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1 //程序员:马相露 2 import java.util.Scanner; 3 public class L { 4 5 public static void main(String[] args) { 6 long a ; //练习题1:输出一个长整型的变量 123456789012345 7 ... 阅读全文
posted @ 2017-12-18 14:15 mxl-1 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1 //程序员:马相露 2 package demo; 3 import java.util.Scanner; 4 public class Ly { 5 6 public static void main(String[] args) { 7 Scanner input = new Scanner(System.in); 8 9 System.out.... 阅读全文
posted @ 2017-12-18 14:15 mxl-1 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1 //程序员:马相露 2 public class World{ 3 public static void main(String[] args){ 4 double p=3.14,i=5.50; 5 6 System.out.println(" 圆的面积:"+ p*i*i+ "cm2"); 7 8 System.out.println(" 圆的周长:"+ 2*i*p +"... 阅读全文
posted @ 2017-12-18 14:13 mxl-1 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 1 //程序员:马相露 2 3 package demo; 4 import java.util.Scanner; 5 public class Lk { 6 7 public static void main(String[] args) { 8 9 Scanner input = new Scanner(System.in); 10 System.... 阅读全文
posted @ 2017-12-18 14:13 mxl-1 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1 //程序员:马相露 2 public class My{ 3 public static void main(String[] args){ 4 int a=35+100*60; //将跑步时间转化为秒 5 double b=2.0*1.6; //将跑步路程转化为公里 6 System.o... 阅读全文
posted @ 2017-12-18 14:12 mxl-1 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1 //程序员:马相露 2 public class Ap{ 3 public static void main(String[] args){ 4 System.out.println(" J A V V A "); 5 System.out.println(" J A A V V A A "); 6 System.out.println(" J J A A A V V A A ... 阅读全文
posted @ 2017-12-18 14:11 mxl-1 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1 package com.aila; 2 3 public class ailale { 4 5 public static void main(String[] args) { 6 int[] arr = {1,5,6,7,9,8,3,0,2,4}; 7 for(int i = 0;i < arr.leng... 阅读全文
posted @ 2017-11-26 21:59 mxl-1 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 1 package com.aila; 2 3 public class Ailajiang { 4 5 6 public static void main(String[] args) { 7 int[] arr = new int [30]; 8 arr[0] = 1; 9 arr... 阅读全文
posted @ 2017-11-26 21:56 mxl-1 阅读(99) 评论(0) 推荐(0) 编辑
摘要: package kongkogn; import com.rupeng.game.GameCore; public class Game implements Runnable{ public static void main(String[] args) { GameCore.start(new 阅读全文
posted @ 2017-10-23 14:31 mxl-1 阅读(94) 评论(0) 推荐(0) 编辑