JAVA
public class Main {
public static void main(String[] args) {
int x = 5;
int y = 3;
System.out.println(x + y);
}
}
Explanation :
This Java program is a simple script that performs basic arithmetic by adding two integers and printing the result.
Here is a step-by-step breakdown:
int x = 5;Declares an integer variable named
xand initializes it with the value5.int y = 3;Declares an integer variable named
yand initializes it with the value3.System.out.println(x + y);Adds the values of
xandytogether ($5 + 3$) and prints the resulting sum (8) to the console.
Output
8
SQL
Operators in The WHERE Clause
You can use other operators than the = operator to filter the search.
Example
Select all customers with a CustomerID greater than 80:
SELECT * FROM Customers
WHERE CustomerID > 80;
References :
https://www.w3schools.com/sql/sql_where.asp
https://www.w3schools.com/java/java_examples.asp
Top comments (0)