a) Int x=5, y=8, z=10;
What is the value of z in?
Z+=++x * y-- + --y.
[show steps]
[2]
b) Give the difference between
implicit and explicit type casting.
[2]
c) Write the difference between no argument constructor and default constructor.
d) String str=”Happy New Year”;
System.out.println(str.substring(6).startsWith(“New”));
What is the output.
[2]
e) Write the difference between two library functions ceil() and floor()
[2]
Answers
Answered by
0
Answer
Explanation:hope it helps you
Similar questions