Examveda

What is the purpose of the `String.format()` method in Java?

A. To define JavaBean properties

B. To execute SQL queries

C. To format strings based on a format string and arguments

D. To create JavaBeans

Answer: Option C


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java