20161025問題解析請點擊今日問題下方的“【Java每日一題】20161026”查看
package Oct2016; import java.util.Date; public class Ques1026 { public static void main(String[] args) { boolean b1 = "String" instanceof Object;//1 boolean b2 = new String() instanceof String;//2 boolean b3 = 'A' instanceof Character;//3 boolean b4 = null instanceof String;//4 boolean b5 = (String)null instanceof String;//5 boolean b6 = new Date() instanceof String;//6 } }
今日問題:
請問主程序輸出結果是?(點擊以下“【Java每日一題】20161026”查看20161025問題解析)
題目原發布於公眾號、簡書:【Java每日一題】20161026,【Java每日一題】20161026
每日一題最新將在公眾號發布,歡迎訂閱,交流進步