138k views
15 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 Mralexhay
by
3.9k points

1 Answer

9 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 Baldrs
by
4.4k points