1.

State the output when the followingprogram segment is executedr String a-"Smartphone",b-“Graphic Art" .String h = a,substring(2, 5);String k = b.substring(8).toUpperCase )System.out.println.(h);System.out println(k.equalsIgnoreCase(h));TTI

Answer»

Output will be

arttrue

how??plz explain??



Discussion

No Comment Found