Question: 7:51 Java Assessment What statement returns true if nifty is of type String? nifty.getType() == String nifty.getClass().getSimpleName() String nifty.getType().equals(String) nifty instanceof String == Something
7:51 Java Assessment What statement returns true if "nifty" is of type String? "nifty".getType() == String "nifty".getClass().getSimpleName() "String" "nifty".getType().equals("String") "nifty" instanceof String == Something wrong with this question? Give feedback Q2/15 01:23 Next
Step by Step Solution
3.41 Rating (148 Votes )
There are 3 Steps involved in it
Answer Answer nifty instanceof String Explanation The instanceof keyword is a binary operatortrue or ... View full answer
Get step-by-step solutions from verified subject matter experts
