Examveda
Examveda

Which method is used to split a string using a regular expression in Java?

A. `substring()`

B. `join()`

C. `concat()`

D. `split()`

Answer: Option D


This Question Belongs to Java Program >> Regular Expressions In Java

Join The Discussion

Related Questions on Regular Expressions in Java