306,127 views
6 votes
6 votes
Which of these statements performs real number quotient division using type casting?

double x = 35 % 10:
double x = 35 / 10;
double x = 35.0 / 10.0;
double x = (double) 35 / 10;
double x = 35.0 % 10.0;

User Relidon
by
3.0k points

1 Answer

8 votes
8 votes

Answer:

Double x = 35 / 10;

Step-by-step explanation:

Java provides simple data types for representing integers, real numbers, characters, and Boolean types. These types are known as _ or fundamental types.

<3

User DiederikEEn
by
3.2k points