Leida osalise joonkoormusega lihttala parempoolse toe vertikaalne reaktsioon kui L = 9.8 m ja koormus q = 19 kN/m mõjub tala vasakpoolses otsas pikkusel 1.3 m. Vastus anda kahe komakohaga, koos ühikuga ning koma asemel kasutada punkti.
What will be the output of the following code snippet?
public class MyClass {
static int value = 10;
public void printValue() {
System.out.println(value);
}
public static void main(String[] args) {
MyClass obj = new MyClass();
obj.printValue();
}
}
What will be the output of the following code snippet?
int x = 7;
int y = x > 5 ? 10 : 5;
System.out.println(y);
What is the output of the following code snippet?
int[ ] numbers = {3, 5, 2, 1, 4};
Arrays.sort(numbers);
System.out.println(numbers[numbers.length - 1]);
What is the output of the following code snippet?
ArrayList<String> colors = new ArrayList<>();
colors.add("Red");
colors.add("Blue");
System.out.println(colors.indexOf("Green"));
What is the output of the following code snippet?
int x = 5;
x += ++x + x++;
System.out.println(x);