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
What is one benefit of using electronic sticky notes ?
balu736 [363]
They can be used to just copy/paste e-mailed information without writing down on a paper and losing valuable time. This is one example.
4 0
3 years ago
Read 2 more answers
How does a junction table handle a many-to-many relationship?
faltersainse [42]

Answer:

two" (and any subsequent words) was ignored because we limit queries to 32 words.

Explanation:

please mark as brainliest

7 0
3 years ago
Which feature of vitualization helps increase the IT productivity of a business?
laila [671]
A the answer is yes
7 0
3 years ago
According to Android’s suggested user interface standards, repeatedly pressing the app icon on an app’s action bar will eventual
marusya05 [52]

Answer:

False

Explanation:

No app icon on app's action bar will move the device  to its home screen.It is not a valid statement.

8 0
3 years ago
Read 2 more answers
All of the following are benefits of automation except
Tasya [4]

Question 1:

4. it increases the number of employees

Question 2:

2. false

Question 3:

2. it causes great damage to the ozone layer

Question 4:

1. true



6 0
3 years ago
Other questions:
  • When u look at a green object through red glass the object will appear
    11·2 answers
  • The more resources you have to choose from during an open book test, the better you will do on the test because more
    13·1 answer
  • The Security Development Life Cycle (SDLC) is a general methodology for the design and implementation of an information system.
    5·1 answer
  • Used prevalently on the web, it allows for secure messages to be sent between parties without having to agree on, or share, a se
    7·2 answers
  • So, I have strict parents & need help, if u don’t know how to fix this after u read it, leave. I don’t want u getting points
    11·2 answers
  • A DBMS commonly receives data update requests from application programs.A. TrueB. False
    11·1 answer
  • What will be the value of “sumtotal” when this code is executed?
    6·1 answer
  • Which of the following class definition defines a legal abstract class Group of answer choices public class Rectangle abstract {
    15·1 answer
  • Which of the following statements should be avoided when developing a mission statement?
    13·1 answer
  • How do you delete questions you asked?
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!