Skip to content
GitLab
Explore
Sign in
String literal and String Object
Code
Review changes
Check out branch
Download
Patches
Plain diff
M. Hamza Haroon
requested to merge
task-4-branch-Q1
into
main
Mar 11, 2026
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
Write a java program to understand the difference between String literal and String Object. Also use the "equals()" method and the "==" operator to compare these Strings.
Merge request reports