最新日志

2019-12-12 aflfte2011

位移运算符

/**
 * 位移运算符测试
 * @author aflft
 *
 */
public class TestOperator04 {
public static void main(String[] args) {
int a=3;

2019-12-12 aflfte2011

逻辑运算符

/**
 * 逻辑运算符测试
 * @author aflft
 *
 */
public class TestOperator03 {
public static void main(String[] args) {
boolean b1=true;

2019-12-12 aflfte2011

关系运算符

/**
 * 关系运算符测试
 * @author aflft
 *
 */
public class TestOperator02 {
public static void main(String[] args) {
int a = 3;

2019-12-12 aflfte2011

算术运算符

/**
 * 测试算术运算符
 * @author aflft
 *
 */
public class TestOperator01 {
public static void main(String[] args) {
byte a=1;

2019-12-12 aflfte2011

字符类型和布尔类型

/**
 * 测试字符类型和布尔类型
 * @author aflft
 *
 */
public class TestPrimitveDateType3 {
public static void main(String[] args) {
char a = 'T'

2019-12-12 aflfte2011

浮点数据类型测试

浮点数据类型学习测试
TestPrimitiveDateType2.java

/**
 * 测试浮点型
 * @author jinhao
 *
 */
import java.math.*;
public class TestPrimitiveDateType2 {
public static v

2019-12-12 aflfte2011

JAVA基本数据类型测试

基本数据类型测试文件
TestPrimitveDateType.java源码:
/**
 * 测试基本数据类型
 * @author jinhao
 *
 */
public class TestPrimitiveDateType {
public static void main(String[] args) {

2019-12-12 aflfte2011

JAVA常量测试源码

常量测试文件
TestConstant.java源码:
/**
 * 常量测试
 * @author jinhao
 *
 */
public class TestConstant {
public static void main(String[] arge) {

2019-12-12 aflfte2011

BallGame桌球源码

实现ball小球的直线来回运动。
BallGame.java源码:
import java.awt.*;
import javax.swing.*;
public class BallGame extends JFrame {

Imag

«... 9 10 11 12 13 14