Looking for Об’єктно-орієнтоване програмування test answers and solutions? Browse our comprehensive collection of verified answers for Об’єктно-орієнтоване програмування at vns.lpnu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Яким буде результат виконаня коду?
public class Test{
public static void main(String[] args){
int i = 0;
System.out.println(~i);
}
}
public class Test{
public static void main(String[] args){
int i = 10, j = 5;
System.out.println(i & j);
}
}
Яким буде результат виконання коду?
public class Test{
public static void main(String[] args){
int i = 2;
System.out.println(i << 3);
}
}
Яким буде результат виконання коду?
public class Test{
public static void main(String[] args) {
int i = 50, j = 10;
int k = i + 10 / j;
System.out.println(k);
}
}
Яким буде результат виконання коду?
1 public class TestClass
2 {
3 String str;
4 byte b;
5
6 public TestClass()
7 {
8 System.out.println(str + " and " + b);
9 }
10 public static void main(String args[])
11 {
12 TestClass tc = new TestClass();
13 }
14 }
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!