0 votes
98 views
in General by (0 points)
closed by
What statement returns true if “nifty” is of type String?

a. "nifty".getType().equals("String")
b. "nifty".getType() == String
c. "nifty".getClass().getSimpleName() == "String"
d. "nifty" instanceof String
closed

1 Answer

0 votes
by (0 points)
 
Best answer
d

Related questions

0 votes
1 answer 91 views
0 votes
1 answer 74 views
0 votes
1 answer 161 views
0 votes
1 answer 318 views

3.0k questions

3.0k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...