answersLogoWhite

0

In Java a primitive data type called 'Char' is used to store a single character of text.

Char myChar = "a";

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How many character can store a character variable at a time?

One. If you want more, use an array.


How many values can store a variable at a time?

The number of values a variable can store at a time depends on the data type of the variable. For example, a variable of type int (integer) in many programming languages can store a single integer value at a time. Similarly, a variable of type float (floating-point number) can store a single floating-point value. Other data types like arrays or lists can store multiple values at a time. The capacity of a variable to store values is determined by its data type and memory allocation.


What is a ponters in c-programming?

with the help of pointers we able to store the memory location of any variable. In c the pointer variable is use to store the memory location of any variable. The pointer variable is define as a simple variable but in pointer variable use a special "*" character at the left most side of name of pointer variable. If any variable name have * it means it is a pointer variable it hold the memory location of variable.


The statement char ch equals 'z' would store in ch?

The statement char ch = 'z'; would store the character 'z' in the variable ch. This means that the variable ch would hold the value 'z'.


(variable) = a?

Character


What is Transformational characters?

Primary locator, secondary locator, variable, variable qualifier: - character states Primary locator, variable: - character states.


Can variable resistors store electrical charge?

NO. Variable capacitory can store a small charge


How do you read a character from the keyboard and will store it in the variable?

Use the scanf() function from the C standard library.


(variable) = a(not a string!)?

Character


What is the semistatic character variable?

The semi static character variable is often the plot, if the plot changes, the semi static character may change as well.


What are the rule used in naming a variable Give examples?

variable is a character or number sequence of a character is called array name


Which special variable store an address of any other variable?

pointer