Core Java Interview questions


Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

What is the return type of format(Locale l, String format, Object... args) method of java.lang.String class in java?

The return type of format(Locale l, String format, Object... args) method is 'String'.

 




Next 5 interview question(s)

1

What is the return type of format(String format, Object... args) method of java.lang.String class in java?

2

What is the return type of length() method of java.lang.String class in java?

3

What is the return type of charAt(int index) method of java.lang.String class in java?

4

What are static methods available in string class in java?

5

What the function of toUpperCase(Locale l) method of String class in java?