give an output of the following code if x=7 and y =11 system.out.println("x==y"+(x==y));
Answers
Answered by
0
JAVA CODE
if x=7 and y =11
system.out.println("x==y"+(x==y));
Output:
Error
- While the second is an equality operation, the first is an assignment operation. Save your time and avoid wasting it by asking queries like this on such websites. Visit Github, download some projects, assemble them, test them, study the Java language's official documentation, examine the code, and then write some code.
- A character string might be compared to an address, a date, or a number, for example, but are there any comparisons across variables with various datatypes? Are there any comparisons using several modes or varying durations of variables? If so, make sure you are familiar with the conversion guidelines.
#SPJ2
Answered by
0
Answer:
CODE IN JAVA
if and
Error:
- The first is an assignment operation, whereas the second is an equality operation. By posing such questions on such websites, you may save your time and stop wasting it. Visit Github, get some projects, put them together, test them, read the official documentation for the Java programming language, look at the code, and then write some code.
- Are there any comparisons between variables with different datatypes, despite the fact that a character string can be compared to an address, a date, or a number, for example? Exist any comparisons involving multiple modes or different variable durations? If so, be careful to understand the converting instructions.
#SPJ5
https://brainly.in/question/22428149
Similar questions
Computer Science,
4 months ago
Political Science,
4 months ago
Science,
4 months ago
English,
8 months ago
Physics,
1 year ago
Political Science,
1 year ago