Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

_______ is not one of the state of Thread Life-Cycle. Select one: a.start b.stop c.United Nations Framework Convention on Climate Change d.None of these Instance

_______ is not one of the state of Thread Life-Cycle.

Select one:

a.start

b.stop

c.United Nations Framework Convention on Climate Change

d.None of these

Instance of the interface _______ be created.

Select one:

a.can

b.automatically

c.cannot

d.None of these

Multithreading is achieved by extending________.

Select one:

a.Throwable

b.Interface

c.Thread class

d.Both A and B

Process is a program _______.

Select one:

a.in exceution state.

b.in hold state.

c.in sleep state.

d.None of these

Clear my choice

Class inherits the methods and members of the interface using ______.

Select one:

a.extends

b.implements

c.inherits

d.All of these

____ is a lightweight process.

Select one:

a.Program

b.Process

c.Thread

d.None of these

Multithreading is the process of multiple threads running _________.

Select one:

a.Concurrently

b.Serially

c.Stepwise

d.None of these

________ keyword is used to define an interface in Java.

Select one:

a.interface

b.Static

c.Intf

d.intf

Interfaces contain _________ fields.

Select one:

a.static and final

b.static only

c.abstract only

d.None of these

_________ shows only the method signatures and not the implementations.

Select one:

a.Class

b.Interface

c.Thread

d.All of these

_____ method is used to start a new thread.

Select one:

a.start

b.begin

c.join

d.All of these

Interfaces contain _________ fields and methods.

Select one:

a.static and final

b.static only

c.final only

d.None of these

Thread Priority is mentioned in _______.

Select one:

a.Character

b.Integer

c.Float

d.All of these

State True or False: Interfaces can be extended as well as implemented.

Select one:

a.FALSE

b.TRUE

c.May be True

d.May be False

State True or False: Interface cannot implements a class.

Select one:

a.FALSE

b.TRUE

c.May be True

d.May be False

A job that thread needs to do is placed inside ______ method.

Select one:

a.start

b.stop

c.run

d.None of these

Threads use ______ memory and process uses ______ memory.

Select one:

a.shared, separate

b.separate, shared

c.shared, shared

d.None of these

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899