Most asked top Interview Questions and Answers | Online Test | Mock Test
Education platform for interview prep, online tests, tutorials, and live practice

Build skills with focused learning paths, mock tests, and interview-ready content.

WithoutBook brings subject-wise interview questions, online practice tests, tutorials, and comparison guides into one responsive learning workspace.

Search the library
Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

WithoutBook Forum

Ques. Get middle element from a String by index

- From a String I need to get element. Suppose
String s = \"abcdefghijklmnopqrstuvwxyz\";
I need to get String from-index 10 to to-index 20 at runtime. What should I do for this case? Is there any other way to get other than substring?

Posted on Jul 16, 2014 by Lary Bon

Enter your Answer

Name
Email Address
Answer
Security Check
Solve this to continue: 1 + 3 = ?
©2026 WithoutBook