What is the output of the following ? s="foo" * 2 puts s

Question:What is the output of the following ? s="foo" * 2 puts s

1.foo*2

2.foofoo

3.Gives an Error

4.foo


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!