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!

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

class MyThread extends Thread

{

    MyThread() {}

    MyThread(Runnable r) {super(r); }

    public void run()

    {

        System.out.print("Inside Thread ");

    }

}

class MyRunnable implements Runnable

{

    public void run()

    {

        System.out.print(" Inside Runnable");

    }

}

class Test

    public static void main(String[] args)

    {

        new MyThread().start();

        new MyThread(new MyRunnable()).start();

    }

}

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

public class Test { }

Що є прототипом конструктора за замовчуванням - default constructor?

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

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

 try

{

    int x = 0;

    int y = 5 / x;

}

catch (Exception e)

{

    System.out.println("Exception");

}

catch (ArithmeticException ae)

{

    System.out.println(" Arithmetic Exception");

}

System.out.println("finished");

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

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

public class Foo

{

    Foo()

    {

        System.out.print("foo");

    }

   

class Bar

{

    Bar()

    {

        System.out.print("bar");

    }

    public void go()

    {

        System.out.print("hi");

    }

} /* class Bar ends */

 

    public static void main (String [] args)

    {

        Foo f = new Foo();

        f.makeBar();

    }

    void makeBar()

    {

        (new Bar() {}).go();

    }

}/* class Foo ends */

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

public class While

{

    public void loop()

    {

        int x= 0;

        while ( 1 ) /* Line 6 */

        {

            System.out.print("x plus one is " + (x + 1)); /* Line 8 */

        }

    }

}

Яке твердження вірне?

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

Який обмежений доступ забезпечує для підкласів в будь-якій упаковці (package) доступ до членів суперкласу?

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

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

 

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

 До типів мови Java не належать…

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

Який метод  змінює розмір аплета згідно з вимірами?

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

import java.awt.Button;

class CompareReference

{

    public static void main(String [] args)

    {

        float f = 42.0f;

        float [] f1 = new float[2];

        float [] f2 = new float[2];

        float [] f3 = f1;

        long x = 42;

        f1[0] = 42.0f;

    }

}

 Які три рядки є вірними?

f1 == f2

f1 == f3

f2 == f1[1]

x == f1[0]

f == f1[0]

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