• Register
0 votes


Can anyone help it was actually asked in exam as following and I need to know whether my answer was right or not?

With its encoding java can work with characters?

7 5 3
5,380 points

2 Answers

0 votes


Correct answer is- 65536
Java represents characters using ASCII Unicode EBCDIC Morse Code Gray Code With its encoding Java can work with 65536 characters. 
Hope you the right number.
7 4 2
10,530 points
0 votes

The following sections will describe the java character set and character encodings for JAVA EE 6.


A character set is a set of textual and graphic symbols, each of which is mapped to a set of non-negative integers,

Character Encoding:

A character encoding maps a character set to units of a specific width and elaborate byte serialization and ordering rules. Many character sets have more than one encoding.


Java programs can represent Japanese character sets using the EUC-JP or Shift-JIS encodings, among others. Each encoding has rules for representing the characters.

ISO 8859:

The ISO 8859 defines the 13 characters encodings that represent the text in a dozen languages. Each ISO 8859 has 256 characters.


UTF-8 is a variable-width character encoding that encodes 16-bit Unicode characters as one of the four bytes. A byte in UTF-8 is equivalent to 7-bit ASCII if its high-order bit is zero, otherwise, the character comprises a variable number of bytes.

UTF-8 is compatible with the majority of existing web content and provides access to the Unicode character set. Current versions of browsers and email clients support UTF-8. In addition, many web standards specify UTF-8 and their character encodings


11 5 1
3,890 points

Related questions

0 votes
2 answers 17 views
Problem: With its encoding Java can work with?
asked Mar 9 ArifulIslam 5.7k points
0 votes
1 answer 13 views
0 votes
1 answer 26 views
I am finding difficulty with following issue, any help appreciated: java.sql.sqlexception: can not issue data manipulation statements with executequery().
asked Jul 25 James Martin 2.2k points
0 votes
2 answers 49 views
I'm new in java programming, I know how to find out the largest or smallest number from an array. But I'm facing problem when I'm trying to find out smallest staring in 3 string. Please help me write a method min that has three string parameters and returns the smallest.
asked May 2 samhaz 5k points
1 vote
1 answer 79 views
Problem: Can anyone provide me an expression that executes the loop body as long as the user enters a non-negative number. Thanks in advance.
asked Apr 9 LizzyM 6.1k points