a) What are the types of casting shown by the following examples?
double x 15.2;
Inty (int)x;
) int x =12;
long y=x;
b) Name the package required to use scanner class.
s State the value of n and ch.
char c ='A';
char ch=(char)n;
Give the output of the following program segment:
double x =2.9.y=2.5;
System.out.println(Math.min(Math.floor(x),y));
System.out.println(Math.max(Math.ceil(x),y));
What will be the result stored in x after evaluating the following expre
Answers
Answered by
1
Answer:
sorry bro I don't know answer
Explanation:
but mark me as brainlist I will find and told you
Similar questions