What is the output of the given code? “Ruby”.length #to find the length of given string

Question:
What is the output of the given code?
“Ruby”.length #to find the length of given string

1.4 to find the length of given string

2.4

3.To find the length of given string

4.Ruby

Posted Date:-2022-02-07 12:44:43


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!