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
Maurinko [17]
3 years ago
8

If the variable letter has been defined as a char variable, which of the following are not valid assignment statements to assign

letter w to the variable?
A) letter = w;
B) letter = 'w';

C) letter = "w";
Computers and Technology
1 answer:
Rudiy273 years ago
6 0

Answer:

The correct answer for the given question is option(A) and option(C) .

Explanation:

To declared any variable of character we using following syntax

char variable=' value';

char  letter='w';

In option(A)  their is no single quotes between character w .So this is not a valid assignment.

In option(C) their is double quotes between character w,no single quotes  between character w .So this is not a valid assignment.

In option(B) their is single quotes between character w .So this is a valid assignment.

So option(A) and option(C) are are not valid assignment statement.

You might be interested in
List at least three benefits of automated testing?
nlexa [21]

Answer:

Always available to run: You can run the tests 24/7, when you are at work, when you leave the office or if you working remote, you can run the test. They can be run virtually unattended, leaving the results to be monitored towards the end of the process.

Fewer human resources: You can reduce the people advocated on testing, you would need a QA automation to write your scripts to automate your tests, instead of people doing manual tests. In addition, once automated, the test library execution is faster and runs longer than manual testing.

Reusability and reliability: The scripts are reusable, a script could be used hundreds of times before need changes. It allows you to test exactly the same, without forgetting any steps this is why is more reliable and way quicker than manual test where people may cause.  

5 0
3 years ago
True or False: You cannot change the default margin size for Word documents.  
Veronika [31]
The answer is false because you can change the margin size on words documents.
8 0
3 years ago
Building relationships during your career exploration is called?
djyliett [7]
This is called


C. Networking
4 0
3 years ago
A program runs from start to finish, producing unexpected results, though no error message is received. What most likely occurre
adelina 88 [10]

Answer:

The answer is most likely B

Explanation:

If it is a logic error, then the computer thinks it is doing the correct task.

8 0
3 years ago
I figured out the secret message in Dad feels good, I can connect the dots
kati45 [8]

Answer:

Nope you figured it out

Explanation:

3 0
3 years ago
Other questions:
  • Suppose your friend, who is a small business owner, wants to computerize her business functions such as accounting, payroll, and
    7·1 answer
  • The box plot represents this data set. {16, 16, 16, 18, 18, 20, 24, 28, 30, 34} What value does the letter A represent on the bo
    8·2 answers
  • Is this statement true or false?
    12·2 answers
  • A chef writing up her famed recipe for beef stew realizes she has switched parsley and oregano everywhere in the recipe. The che
    13·1 answer
  • When the Squirrel peer-to-peer web caching service was evaluated by simulation, 4.11 hops were required on average to route a re
    11·1 answer
  • Does anyone know how to fix this???
    11·1 answer
  • Write a static method called split that takes an ArrayList of integer values as a parameter and that replaces each value in the
    12·1 answer
  • Margie has found a stock template to use. She changes a few things about the formatting and then saves the
    7·2 answers
  • Key Vocabulary:
    7·1 answer
  • How do you do 1.17.5, invert colors, on codehs?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!