Computer Applications
Name the data types in order from top, given in the above picture.

- int, char, double, String
- String, int, char, double
- char, double, int, String
- int, double, char, String
Values & Data Types Java
1 Like
Answer
String, int, char, double
Reason
- The first value is a sentence in quotes, which is a String.
- The second value is
578, a whole number without decimal, so it is of int type. - The third value is
\n, which is an escape sequence representing a character, hence char type. - The fourth value is
51.048053, a number with decimals, which is of double type.
Answered By
1 Like
Related Questions
Name the method of search depicted in the below picture.

- Binary Search
- Selection Sort
- Bubble Sort
- Linear Search
Name the feature of Java depicted in the below picture.

- Encapsulation
- Inheritance
- Polymorphism
- Data abstraction
How many bytes are occupied by the below two-dimensional array?
156 20 154 20 130 20 130 20 162 17.67 161 20 158 17.5 154 20 - 96 bytes
- 128 bytes
- 12 bytes
- 24 bytes
A girl wanted to calculate the sum of two numbers stored as a and b multiplied by 7. Select the appropriate Java expression.
- a + b*7
- 7*a + b
- (a + b)*7
- a + 7*b