logo

Crowdly

Browser

Add to Chrome

Комп'ютерне забезпечення мультимедійних інформаційних систем [04102]

Looking for Комп'ютерне забезпечення мультимедійних інформаційних систем [04102] test answers and solutions? Browse our comprehensive collection of verified answers for Комп'ютерне забезпечення мультимедійних інформаційних систем [04102] at vns.lpnu.ua.

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

Що є найбільш обмежувальне модифікатора доступу, який дозволить членам одного класу мати доступ до членів іншого класу в одному пакеті (package)?

 

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

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

class MyThread extends Thread

{

    public static void main(String [] args)

    {

        MyThread t = new MyThread();

        t.start();

        System.out.print("one. ");

        t.start();

        System.out.print("two. ");

    }

    public void run()

    {

        System.out.print("Thread ");

    }

}

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

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

public class NFE

{

    public static void main(String [] args)

    {

    String s = "42";

        try

        {

            s = s.concat(".5");  /* Line 8 */

            double d = Double.parseDouble(s);

            s = Double.toString(d);

            int x = (int) Math.ceil(Double.valueOf(s).doubleValue());

            System.out.println(x);

        }

        catch (NumberFormatException e)

        {

            System.out.println("bad number");

        }

    }

}

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

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

public class ArrayTest

{

    public static void main(String[ ] args)

    {

        float f1[ ], f2[ ];

        f1 = new float[10];

        f2 = f1;

        System.out.println("f2[0] = " + f2[0]);

    }

}

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

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

class PassA

{

    public static void main(String [] args)

    {

        PassA p = new PassA();

        p.start();

    }

 

    void start()

    {

        long [] a1 = {3,4,5};

        long [] a2 = fix(a1);

        System.out.print(a1[0] + a1[1] + a1[2] + " ");

        System.out.println(a2[0] + a2[1] + a2[2]);

    }

 

    long [] fix(long [] a3)

    {

        a3[1] = 7;

        return a3;

    }

}

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

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

public class ExamQuestion6

{

    static int x;

    boolean catch()

    {

        x++;

        return true;

    }

    public static void main(String[] args)

    {

        x=0;

        if ((catch() | catch()) || catch())

            x++;

        System.out.println(x);

    }

}

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

Який клас інкапсулює границі контейнера?

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

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

 

int i = O;

while(1)

{

    if(i == 4)

    {

        break;

    }

    ++i;

}

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

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

Який клас інкапсулює різну інформацію, що відноситься до шрифту?

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

Клас, екземпляри якого не створюються, називається…

0%
0%
0%
100%
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