package com.shrimpking.t1;
/**
* Created by IntelliJ IDEA.
*
* @Author : Shrimpking
* @create 2024/9/14 11:19
*/
public class TestJavaIntChar
{
public static void main(String[] args)
{
int num = 3; //整型变量
char ch = 'z'; //字符变量
System.out.println(num + "是整数");
System.out.println(ch + "是字符");
}
}
标签:TestJavaIntChar,ch,System,num,println,public,out
From: https://blog.51cto.com/u_15356972/12107195