一、代码展示
/*
* Copyright (c) 2020, 2023, webrx.cn All rights reserved.
*
*/
package com.it;
import java.sql.SQLOutput;
/**
* <p>Project: chat - B</p>
* <p>Powered by webrx On 2023-07-05 16:29:40</p>
* <p>描述:<p>
*
* @author 简单遗忘 [814736551@qq.com]
* @version 1.0
* @since 17
*/
public class B {
public static void main(String[] args) {
abb('g',103);
}
public static void abb(char a,int b){
System.out.println("g和103是否相等"+'\n'+(a==b));
}
}
二、运行截图