| What will be the output of the following Java code slot 2 question 10?
Choose the correct option from below list
(1)0
(2)true
(3)1
(4)false
Answer:-(4)false
Note:-startsWith() method is case sensitive “hello” and “Hello” are treated differently, hence false is stored in var. | | |