a) Write an expression in java for (a^2 - b^3) /(a+b)^3
b) Give the difference between formal parameter and actual parameter
c) String str=”Happy New Year”;
System.out.println(str.substring(6).startsWith(“New”));
What is the output?
d) Write the output of the following code segment with proper reason
int i=1;
while(i++<=1){
i++;
System.out.println(i++);
}
System.out.println(++i);
plz if you can answer atleast answer one, I need urgent help
Answers
Answered by
2
Answer:
a) Write an expression in java for (a^2 - b^3) /(a+b)^3
b) Give the difference between formal parameter and actual parameter
c) String str=”Happy New Year”;
System.out.println(str.substring(6).startsWith(“New”));
What is the output?
d) Write the output of the following code segment with proper reason
int i=1;
while(i++<=1){
i++;
System.out.println(i++);
}
System.out.println(++i);
plz if you can answer atleast answer one, I need urgent help
Similar questions