Write the output of the following String methods:
(a) "ARTIFICIAL ".indexOf('I')
(b) “DOG and PUPPY”. trim().length()


Solution



(a) 3
(b) 13


Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com