Solved

Suppose a String Variable S Is Initialized to the Value

Question 53

Multiple Choice

Suppose a String variable s is initialized to the value "inheritance".What value is returned by the call s.substring(2,5) ?


A) nher
B) nheri
C) her
D) heri

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions