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
mario62 [17]
2 years ago
11

Modify the CharacterInfo class shown in Figure 7-3 so that the tested character is retrieved from user input.

Computers and Technology
1 answer:
nata0808 [166]2 years ago
8 0

The tested character is modified as given below. See the definition of tested character below.

<h3>What is characterization testing?</h3>

Michael Feathers created the phrase "characterization testing."

A characterization test (also known as Golden Master Testing) in computer programming.

It is a method of describing (characterizing) the actual behavior of an existing piece of software and thereby protecting legacy code against unwanted modifications through automated testing.

<h3>What is the modified characterInfo class?</h3>

Run on java, the modified characterInfo class is given as follows:

//import packages

import java.util.Scanner;

//Java class

public class InputCharacterInfo {

   //entry point of the program , main method

   public static void main(String[] args) {

       //creating object of Scanner class

       Scanner sc=new Scanner(System.in);

       //asking user to enter character

       System.out.print("Enter a character : ");

       //reading character

       char aChar=sc.next().charAt(0);

       System.out.println("The character is "+aChar);

       if(Character.isUpperCase(aChar))

           System.out.println(aChar+" is uppercase");

       else

           System.out.println(aChar+" is not uppercase");

       if(Character.isLowerCase(aChar))

           System.out.println(aChar+" is lowercase");

       else

           System.out.println(aChar+" is not lowercase");

       aChar=Character.toLowerCase(aChar);

           System.out.println("After toLowerCase(), aChar is "+aChar);

       aChar=Character.toUpperCase(aChar);

           System.out.println("After toUpperCase(), aChar is "+aChar);        

   }

}

Learn more about characterization testing in programming at;
brainly.com/question/13142406
#SPJ1

You might be interested in
put together a shopping list of items that a first responder should always have at immediate disposal in a field kit. Using curr
Viefleur [7K]

Answer:

dont forget the trail mix

Explanation:

honestly you can go bougie or you can go doomsday prepper macgyver style.

Ill give you what I would bring as a field medic but you didnt really specify the situation so hopefully this can spark some ideas for your project. You can find everything here on amazon so ill let you go ahead and do that..

<u>PPE</u>

gloves

masks

eye protection

reflective wear

weapon system

<u>Medical</u>

Tourniquets

Pressure Dressings

NSAIDs

Aspirin

Safety pins

IO drill

IV supplies

Space blanket

Thermometer

Chapstick

Silktape

Bacitracin

<u>EDC</u>

Flashlight

Pens/markers

write in the rain

Firestarter

Duct tape

knives/trauma shears

saw

Watch

550cord

gummy worms & water

Radio/ Garmin inreach

Triage tags

3 0
3 years ago
When writing professional emails, it is okay to use emoticons and
nekit [7.7K]

Answer:

False

Explanation:

8 0
4 years ago
Read 2 more answers
Which letter would appear in the third position of the standard wheel marking of a hard-grade wheel?
torisob [31]
B is the correct answer you are looking for 

6 0
4 years ago
Read 2 more answers
You are designing a Webpage for your company's site that reaches an international audience. What should you do to solve the prob
Helga [31]
It is b cause of its answer
8 0
3 years ago
What is the difference between simple and complex waveforms?
Nataliya [291]
Simple waveform - something like a sine wave. Very pure sound like you used to get on the tv when that girl was sitting with the toys in the middle of the night. Complex waveform is like speech etc
5 0
3 years ago
Other questions:
  • Don is the superintendent of the county school system. What task might Don
    8·1 answer
  • Select all examples of good keyboarding technique.
    13·2 answers
  • Universal Containers (UC) uses a custom object called Vendor. The Vendor custom object has a Master-Detail relationship with the
    10·1 answer
  • By default, after how much time has elapsed in a client's DHCP lease will the client attempt to renew the lease?
    12·1 answer
  • The processor has a five-stage pipeline F D O E M S; that is, instruction fetch, instruction decode, operand fetch, execute, mem
    13·1 answer
  • Who Find the exact web server that hosted the website by looking in a huge database of internet addresses
    8·1 answer
  • List 2 end to end test commands. <br><br> Will mark Brainliest!!
    13·1 answer
  • Assume that the variable data refers to the list [5, 3, 7]. Write the expressions that perform the following tasks: a. Replace t
    8·1 answer
  • Dawn is trying to find out how much weight she can push across the room. She is really trying to find her __________. A. flexibi
    11·1 answer
  • How to find HCF and LCM of a number in Q Basic program?? ​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!