Home / MCQ Bank / Computer
Computer Data Types And Variables

Which data type is used to store a single character in Java?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • char

Related Computer Questions

What will be the output of the following Python code? l1=[10, 20, 30] l2=[-10, -20, -30] l3=[x+y for x, y in zip(l1, l2)] print(l3) What does argc and argv indicate in command-line arguments? (Assuming: int main(int argc, char *argv[]) ) What will be the output of the following Python code? import turtle t=turtle.Pen() t.goto(300,9) t.position() A two-out-of-five code consists of ______ What will be the output of the following C++ code? #include <iostream> using namespace std; int main () { char str[] = "Steve jobs"; int val = 65; char ch = 'A'; cout.width (5); cout << right; cout << val << endl; return 0; }