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
Sergio [31]
3 years ago
15

Which of the following statements contains an error?

Computers and Technology
1 answer:
ASHA 777 [7]3 years ago
5 0
I. is syntactically correct if genderString exists. if genderString, for example, is "Male", then char gender would be the character at index 0 (the first character), meaning 'M'.

II. is incorrect. It is using the comparison operator (==) instead of the assignment operator (=). It is also setting a boolean variable to a String value of 'F'. Boolean values cannot hold string values, and can only hold true & false. 

III. is correct if ageString only contains numbers (presumably, it does, as it's called ageString). Integer.parseInt is a function that converts String values to integer values if the string values only contain numerical characters.

The answer in this case should be B. II only.
You might be interested in
________ are used to translate each source code instruction into the appropriate machine language instruction.
Liono4ka [1.6K]

Answer:

compillers

Explanation:

computer programs belong in three classes; these are

Machine language (0s and 1s)

Assembly language and Highlevel languages

The popular programming languages like Java, C, C++, Python etc are all examples of high level languages. When programs are written in these highlevel languages, the programs will require another special program called compillers to carryout a translation from the highlevel language to a machine level (0s and 1s) which is the level that is executable by computers.

8 0
3 years ago
In order for bitlocker to protect the system volume without the aid of an external drive, your computer must:
zhenek [66]
70% C, 20% B, 5% / 5% - A /B
4 0
3 years ago
Read 2 more answers
You defined a shoe data type and created an instance.
Assoli18 [71]

Answer:

myShoe.type = 'sneaker'

Explanation:

type is a field of the class shoe. The myShoe object which is an instance of the class shoe has the field type also.

To assign a value to type filed of the object myShoe, reference the object then the field as such;

   myShoe.type = "sneaker"

7 0
1 year ago
The shell of a document that may be used over and over in desktop publishing is called a
Kay [80]
It is called a template
7 0
3 years ago
To ease giving access to network resources for employees, you decide there must be an easier way than granting users individual
scoundrel [369]

Answer

The intranet security model

Explanation:

This is an enterprise system that processes user information for security  and access authentication. It prevents unauthorized users, who are not part of the network resources from capturing these information.

The intranet security model is an efficient security procedure that incorporates web security  access control in keeping information safe over the intranet. It is also useful in encryption and decryption techniques.

4 0
3 years ago
Other questions:
  • G=D+(A+C^2)*E/(D+B)^3 Rewrite the above formula in terms of doing concurrent processing using cobegin and coend to identify thos
    12·1 answer
  • Which of the following is NOT a group on the Slide Master tab?
    6·1 answer
  • Which letters appear in the home row on a keyboard?
    14·2 answers
  • A student who sets a date to finish a goal is using which SMART goal? relevant, specific, attainable or timely
    10·1 answer
  • What is VoIP?
    5·1 answer
  • (9.10 Code Practice: Question 1)
    12·1 answer
  • In what way, if any, has community building changed in the age of digital media? People’s community building has not changed in
    13·1 answer
  • Is it okay for potential employers to search your social media for use in determining if you are a fit for the position?
    15·1 answer
  • Which family does Ms word 2007 belongs to?​
    6·2 answers
  • HELP 100 points
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!