Courses
LoginStart now
Courses
LoginStart now
+ 1

What is the difference between 1. String s1 = new String ("abc"); 2. String s1 = "abc"; ?

About String constructor difference

constructorsstring
15th Mar 2019, 5:28 PM
Soma Venkata Sai Krishna
Soma Venkata Sai Krishna - avatar
1 Answer

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
Fast coding (mobile)
2 Votes
Hofstadter a sequence code coach is not running
0 Votes
DSA doubt
1 Votes
Coding help
2 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Data structure using C
0 Votes
Vote Code
1 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes