Company: Societe Generale_18oct
Difficulty: medium
What will be the output of the following Java code? class test { int a; int b; void meth(int i, int j) { i *= 2; j /= 2; } } class Main { public static void main(String args[]) { test obj = new test(); int a = 10; int b = 20; obj.meth(a, b); System.out.println(a + " " + b); } } 10 20 20 10 20 20 10 10 Consider the tables Customers (CustomerID, Name) and Orders (OrderID, CustomerID, OrderDate). Which of the following queries will return the names of customers who placed an order in the year 2022? SELECT Name FROM Customers WHERE CustomerID IN (SELECT CustomerID FROM Orders WHERE OrderDate LIKE '2022%'); SELECT Name FROM Customers JOIN Orders ON Customers.CustomerID = Orders.CustomerID WHERE YEAR(OrderDate) = 2022; Both A and B SELECT Name FROM Customers WHERE OrderDate = 2022; Out of the following, which one is not a workbench tool for Requirement Management? Rational RequisitePro DOORS HP ALM Compilers Consider the tables Book (isbn, bname) and Stock (isbn, copies). Which of the follow