Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new to java, very simple question

Status
Not open for further replies.

786snow

Programmer
Nov 12, 2006
75
I am very new to Java. I have a source file.

It has a class which has variables defined.

public static String ENGLISH_TRADE_FOOTER =
"<p>*To qualify, you must, during the immediately";


Now when I compile it, it created a class file. In that class file I see the variables, like

public static String ENGLISH_TRADE_FOOTER;

but don't see the text, is this how it is suppose to look aftre compiling?

Thanks
 
This forum is for threads about J2EE. For pure Java questions, post on forum269. But to answer your question, a compiled class is for machine consumption, and not necessarily human readable. If your program runs okay, why worry about how literal Strings are represented in the compiled version?

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top