logo

Crowdly

Browser

Add to Chrome

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

Looking for Об’єктно-орієнтоване програмування [05208] test answers and solutions? Browse our comprehensive collection of verified answers for Об’єктно-орієнтоване програмування [05208] at vns.lpnu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Об'єкт – це

0%
100%
0%
0%
0%
View this question

 

Що буде виведено у результаті виконання програми:

public class Example1 {

            public static void main(String[] args) {

             int I = 2;

                outer:

                while (true)

                {

                    I++;

                    inner:

                    for (int j = 0; j < 10; j++)

                    {

                        I += j;

                        if (j == 4)

                            continue inner;

                        break outer;

                    }

                    continue outer;

                }

            System.out.println(I);

 

}

}

 

0%
100%
0%
0%
0%
View this question

 

Що буде виведено у результаті виконання програми:

public class Example1 {

                 public static void main(String[] args)

                {

                     int x=7;

                     String sup = (x< 10) ? "small" : (x < 5)? "tiny" : "huge";

                     System.out.println(sup);

                 }

             }

 

0%
100%
0%
0%
0%
View this question

Що буде виведено у результаті виконання програми:

class Base

{

    Base()

    {

        System.out.print("Yes");

    }

}

public class Example1 extends Base{

            public static void main(String[] args) {

                         new Example1();

                         System.out.println("No");

                         new Base();

                         new Base();

                 }

             }

 

0%
100%
0%
0%
0%
View this question

Що буде виведено у результаті виконання програми:

public class t {

      public static void main(String[] args) {

int i=4;

            System.out.print(++i);

            System.out.print(2+i--);

            System.out.print(i-3);

      }

}

 

0%
0%
0%
0%
100%
View this question

Що буде виведено у результаті виконання програми:

public class Example1 {

            public static void main(String[] args) {

   int i = 1, j = 2;

     switch(i)

     {

         case 2: j += 6;

         default: j += 1;

         case 4: j += 1;

         case 0: j += 4;

     }

     System.out.println("j = " + j);

 }

}

 

0%
0%
0%
0%
100%
View this question

Що буде виведено у результаті виконання програми:

class Base

{

    Base()

    {

        System.out.println("one");

    }

}

public class Example1 extends Base{

            public static void main(String[] args) {

                         new Example1();

                         new Base();

                         System.out.print("two");

                         new Base();

                 }

             }

 

100%
0%
0%
0%
0%
View this question

Вкажіть коректну послідовність ключових слів у операторі мови SQL DELETE:

100%
0%
0%
0%
0%
View this question

Що буде виведено у результаті виконання програми:

public class t {

      public static void main(String[] args) {

int i=6;

System.out.print(--i);

System.out.print(1+i++);

System.out.print(i-3);

      }

}

 

0%
0%
0%
0%
100%
View this question

Який варіант відповіді не підходить для перевантаження методу double test(int a) { …} ?

 

100%
0%
0%
0%
0%
View this question

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

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

Browser

Add to Chrome