logo

Crowdly

Об’єктно-орієнтоване програмування

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);

}

}

View this question

public class Test{

public static void main(String[] args){

int i = 10, j = 5;

System.out.println(i & j);

}

}

View this question

Яким буде результат виконання коду?

public class Test{

public static void main(String[] args){

int i = 2;

System.out.println(i << 3);

}

}

View this question

Яким буде результат виконання коду?

public class Test{

public static void main(String[] args) {

int i = 50, j = 10;

int k = i + 10 / j;

System.out.println(k);

}

}

View this question

Яким буде результат виконання коду?

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 }

View this question

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!