I understand the definition of canonical, but I need an example. For instance, what would the canonical form of the string

String s = new String("foobar");

be? Thanks.

Recommended Answers

It looks like we're talking about Unicode canonicalization here... so the canonical form may depend on …

Jump to Post

All 2 Replies

I would also like to know. I believe canonical just relates to the simplest form an object can take. I'm confused as how to define the simplest object.

Good luck!

It looks like we're talking about Unicode canonicalization here... so the canonical form may depend on the encoding used.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.