• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

what is difference between string and string object in java

String s="hello"; String S1=new String ("java");

java
9th Dec 2021, 2:51 AM
Jigar
Jigar - avatar
1 Answer
+ 2
https://www.tutorialspoint.com/What-is-the-difference-between-String-s1-Hello-and-String-s1-new-String-Hello-in-java#:https://www.tutorialspoint.com/What-is-the-difference-between-String-s1-Hello-and-String-s1-new-String-Hello-in-java.
9th Dec 2021, 3:00 AM
NEZ
NEZ - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What's wrong in my code?
2 Votes
Cybersecurity techies
5 Votes
App Development
0 Votes
Please answer.
0 Votes
Is python better than javascript?
1 Votes
HTML
0 Votes
Introduction of html
0 Votes
what languages should I learn to learn python
0 Votes
CSS or Tailwind
1 Votes
How do I use loop in pythan
0 Votes