java编程中,怎样通过if语句判断参数是否为字符串型,判断参数是否为字符串型还有什么其他的方法?

2025-03-25 12:20:27
推荐回答(1个)
回答1:

if( Object instanceof String ){

}