answersLogoWhite

0

What are the Characters in java?

Updated: 8/21/2019
User Avatar

Wiki User

6y ago

Best Answer

The Java programming language is represented by the basic source character set from the US variant of the international 7-bit character set ISO 646-1983 called ASCII (ANSI3.4-1968). This is the same character set used by both C and C++ and also by the vast majority of high and low level programming languages. To use an extended character set for source code, the programming environment needs to map the extended character set into the basic source set. This can be achieved in several ways, such as by utilising universal character names.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the Characters in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the need of separators in java?

Separators are the characters which stands for puncuations in java such as brackets,braces etc


How do you restrict no of characters in text box in HTML?

by using java script


What is FileReader?

In java FileReader is a class which is meant for reading streams of characters.


How do you input the number of characters in java?

".length()". The . length method is inherited from the String class.


What is stream reader in java?

It reads bytes and decodes them into characters using a specified charset.


Is sizeof keyword in Java?

sizeof is not a keyword in Java but many classes have size() or length() methods, which can mean the number of elements, characters, etc. depending on the class.


Why java enhanced the size of character?

To be able to represent more characters. With 1-byte (8-bit) characters, you can only use 256 different characters. In order to be able to use more characters, the Unicode system - used by Java and many other modern programming language - uses larger characters. In Unicode, over a million characters can be defined; this makes it possible to encode not just Latin characters (the characters used in English) and the same Latin characters with lots of diacriticals (special symbols, for example, á, é, ñ, ü, etc.), but also characters in other languages, such as Russian, Chinese, or even Klingon.In the case of Java, the standard size of a character is 16 bits (or 2 bytes). In theory, this makes it possible to represent only about 65,000 different characters, but by using some 2-character pairs (4 bytes in total), the entire Unicode set can be represented.


In what programming language is substr used?

Java is the programming language where substr is used. Substr is a command that returns the characters in a string beginning at the specified location through the specified number of characters.


What is a string in java?

An object that stores an ordered set of characters (ie. "hello"). The String class represents character strings.


Does the programming language JAVA has any abberivation?

No. If you need to refer to the language in fewer than four characters, you're out of luck.


How can you convert byte to string in java?

To convert byte to String in java use the String(bytes, UTF-8); //example for one encoding type. You must know the special encoding that contains a variety of characters.


Does Character literals are stored as unicode characters?

Character literals in Java are stored as UTF-16 Unicode characters. Each character takes up 16 bits of memory, allowing for representation of a wide range of characters in the Unicode character set.