Back to Browse

#1000 Java Interview Questions | String Literal vs new String in Java | string object ,literal

284 views
Jul 1, 2024
4:48

In this Playlist on 1000 Java Interview Questions for freshers to experienced. Today we will cover about String literal vs new String object in java. String objects are usally stored in heap memory where as string literals are string pool. Hence String Literals are more recommend as its optmized memory leading to better performance over string object. #programming ,#interview ,#javacodinginterviewquestions

Download

0 formats

No download links available.

#1000 Java Interview Questions | String Literal vs new String in Java | string object ,literal | NatokHD