1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Drupady [299]
4 years ago
14

public interface Displayable { void display(); } public class Picture implements Displayable { private int size; public void inc

reaseSize() { size ; } public void decreaseSize() { size--; } public void display() { System.out.println(size); } public void display(int value) { System.out.println(value * size); } }What method invocation can be used to complete the code segment below?Displayable picture = new Picture();picture.______________;a. display()b. decreaseSize()c. display(5)d. increaseSize()
Computers and Technology
1 answer:
Tamiku [17]4 years ago
4 0

Answer:

a. display()

Explanation:

Based on the scenario being described within the question it can be said that the method invocation for this statement would be display(). This is because the statement,

Displayable picture = new Picture();

Is creating a new Displayable object this object then needs to be called using the . operator and passed the display() method in order for that object to correctly be displayed. Therefore the answer in this question is a. display()

You might be interested in
Question 8 of 10
Feliz [49]

Answer: B. Multi-user, multitasking.

Explanation:

Multiuser/Multitasking operating system refers to an operating system that's powerful and supports more than one user at a time, and can also perform more than one task at a time.

The operating system allows many users to use the programs which are running concurrently on a single network server. It is the computer operating system that would be best for a large corporation. An example is UNIX.

4 0
3 years ago
if i were to buy one of these and plug it into a ps4 usb slot would i be able to see it on a tv? cause my hdmi slot on the ps4 i
alisha [4.7K]
It should work unless you did or bought the wrong thing
7 0
3 years ago
Read 2 more answers
5. What will be displayed when this program finishes running?
Vika [28.1K]

Answer:5 i think im not sure though

Explanation:

8 0
3 years ago
Read 2 more answers
Suppose you are asked to design a rotating disk where the number of bits per track is constant. You know that the number of bits
Olenka [21]

Answer:

suppose i was i would tell them i dont know and walk away

Explanation:

in thoery this is correct

you said suppose so i answerd

there is no use in reporting or getting this taken down

nether is it right

im not stealing points

Because in thoery its an answer

<em><u>THIS IS MY PROTEST</u></em>

6 0
3 years ago
Game Design Help please
valina [46]
This game on cool math
4 0
4 years ago
Other questions:
  • A(n) __________________ device is a breath analyzer on your vehicle that is electronically connected to the ignition.
    11·1 answer
  • The code size of 2-address instruction is________________.? 5 bytes? 7 bytes? 3 bytes? 2 bytes
    7·1 answer
  • (Solved—15 Lines) In many jurisdictions a small deposit is added to drink containers to encourage people to recycle them. In one
    5·1 answer
  • Is downloading like installing?
    13·1 answer
  • Which clauses in the Software Engineering Code of Ethics are upheld by a whistleblower (check all that apply). "Respect confiden
    15·1 answer
  • Delivering is not considered in supply chain analysis when outside carriers are contracted to move products to customers.
    15·1 answer
  • In Marvel Comics, what imaginary rare metal is an important natural resource of Wakanda, the home country of Black Panther?
    15·1 answer
  • A file with a com extension is most likely to be a(n) ___ file.
    13·2 answers
  • It's about a truth table. No need to draw tables, 3 rows for the 3 columns is enough. Pls answer.
    10·1 answer
  • Total_coins = 0
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!