Try writing a small program that uses instanceof to test which statements are true.
For example:
String str = "ss";
System.out.println(str instanceof String);
Type: Posts; User: Norm
Try writing a small program that uses instanceof to test which statements are true.
For example:
String str = "ss";
System.out.println(str instanceof String);
Can you post what you think are the answers and the reason why?