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
S_A_V [24]
3 years ago
7

What will be the results of executing the following statements? x.setEditable(true); x.setText("Tiny Tim"); a. The text field x

will have the value "Tiny Tim" and be read only b. The text field x will have the value "Tiny Tim" and the user will be able to change its value c. The text field x will have the value true d. The text field x have the value "trueTiny Tim"
Computers and Technology
1 answer:
maxonik [38]3 years ago
6 0

Answer:

Option B: The text field x will have the value "Tiny Tim" and the user will be able to change its value.

Explanation:

  • The first statement say:  x.setEditable(true);

It will only change the property of the text present in x to editable. This means that whenever the text value needs to change the user can edit it.

  • The second statement say:   x.setText("Tiny Tim");

It will put the text "Tiny Tim" into the attribute x and present it as the output or result.

You might be interested in
Could someone please paraphrase this for me and rewrite it in your own words??
Nady [450]

I will master the essentials for the Microsoft application Excel. My newly formed skills will be shown through my work shown through Spreadsheets i create and how i utilize mathematical functions in Excel. I am determined to increase my skill level by 90%. I will achieve this goal by the second marking period.

5 0
3 years ago
1. Accessing calendars, contact information, emails, files and folders, instant messages, presentation, and task lists over the
kotykmax [81]
QUESTION NO. 1 -

A. Cloud computing.


QUESTION NO. 2 -

C. Social networking.


QUESTION NO. 3 -

D. Task list.


QUESTION NO. 4 -

D. Powerpoint.


QUESTION NO. 5 -

B. Sandie should share the document in OneDrive and give her sister permission to edit the document.


QUESTION NO. 6 -

C. The design and arrangement of items for efficiency and safety.
8 0
3 years ago
Write a method maxMagnitude() with two integer input parameters that returns the largest magnitude value. Use the method in a pr
antoniya [11.8K]

Answer:

   public static int maxMagnitude(int a, int b){

       int max;

       if (a>b){

           max = a;

       }

       else{

           max = b;

       }

       return max;

   }

The complete program calling the method is given in the explanation section

Explanation:

import java.util.Scanner;

public class ANot {

   public static void main(String[] args) {

     Scanner in = new Scanner(System.in);

       System.out.println("Please Enter two numbers");

       int num1= in.nextInt();

       int num2 = in.nextInt();

       System.out.println("The largest magnitude number is: "+maxMagnitude(num1,num2));

   }

   public static int maxMagnitude(int a, int b){

       int max;

       if (a>b){

           max = a;

       }

       else{

           max = b;

       }

       return max;

   }

}

The maxMagnitude() method uses if/else statement to compare two ints and return the larger one

7 0
3 years ago
Differentiate between smudge and dodge tool.​
Pavlova-9 [17]

Answer:

They are the same as the clone tool.

Explanation:

4 0
2 years ago
Examples of storage device​
Mnenie [13.5K]
The answer is a usb drive
6 0
2 years ago
Other questions:
  • What is a common method for testing a spot weld?
    13·1 answer
  • When activating windows, which type of volume activation is used to activate multiple windows systems, but must be individually
    12·1 answer
  • Which is most harmful computer virus define​
    15·1 answer
  • If two different devices try to transmit to a common device at the same time, switches suffer from a problem in the collision do
    13·1 answer
  • Original phone call greeting for oncologist
    10·1 answer
  • Write a program that simulates rolling one die using the following steps: 1. Prompt the user for the number of sides on the die.
    13·1 answer
  • 30 POINTS !!!!!!!!
    12·1 answer
  • 4.2 lesson practice helps plzs
    9·1 answer
  • Which of these is NOT an example of lifelong learning?
    6·1 answer
  • I need help with the last question pleasee help me guys .
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!