You are not logged in. Please login at www.codechef.com to post your questions!

×

String Class

When we assign a string to a String object e.g. String ob=”Hello”, is it stored in ob as a final variable?

asked 21 Jun '18, 12:56

prkundan's gravatar image

0★prkundan
1
accept rate: 0%


Unless specified variable doesn’t become final. But the string remains immutable in string pool

link

answered 21 Jun '18, 18:27

kavinnilak's gravatar image

0★kavinnilak
1
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×643

question asked: 21 Jun '18, 12:56

question was seen: 64 times

last updated: 21 Jun '18, 18:27