Solved

_________ Returns the Last Character in a StringBuffer Variable Named 1) -1)

Question 1

Multiple Choice

_________ returns the last character in a StringBuffer variable named strBuf?


A) strBuf.charAt(strBuf.capacity() - 1)
B) StringBuffer.charAt(strBuf.capacity () - 1)
C) StringBuffer.charAt(strBuf.length () 1) -1)
D) strBuf.charAt(strBuf.length() - 1)

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents