Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me with the exact difference of ' and " ? Is it only helps in building strings?

1 Answer

0 votes
by (26.7k points)

Basically, both are the same but, if you want to use it inside a string then go for ", which is a good idea to implement like this.

I hope this will help.

Want to become a Java expert? join Java Course now!!

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 18, 2020 in Java by dev_sk2311 (45k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...