Assume that we have to convert “false” that is a non-string to string. The command that we use is (without invoking the “new” operator).

Question:Assume that we have to convert “false” that is a non-string to string. The command that we use is (without invoking the “new” operator).

1. false.toString()

2.String(false)

3.String newvariable=”false”

4.Both false.toString() and String(false)


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!