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
olchik [2.2K]
4 years ago
10

To create an object from a class named Cart that requires two arguments, you code a. new Cart($arg1, $arg2) b. Cart_constructor(

$arg1, $arg2) c. new Cart(arg1, arg2) d. Cart_constructor(arg1, arg2)
Computers and Technology
1 answer:
Kruka [31]4 years ago
8 0

Answer:

Option a is the correct answer for the above question.

Explanation:

  • The above question has the option in which two option holds a syntax which is used to declare a variable in PHP language. So the answer is on behalf of the PHP language.
  • When a user wants to create an object of any class with the two-parameter in PHP language, then he can do it by the help of "class_name object_name= new class_name($argument1,$argument2)".
  • The option 'a' follows the above syntax to create an object of Cart class. Hence it is a correct option while the other is not because:
  1. Option b states a syntax in which the new keyword is not defined which is used to create a new object.
  2. Option c states that option in which '$' is not defined to declare a variable.
  3. Option d states that option in which '$' is not defined to declare a variable.

You might be interested in
The amount of white space or vertical space between the lines of the text in a paragraph is called line spacing.
jekas [21]

Answer:

It is a true statement .

3 0
3 years ago
10. This famous designer’s sister took over his clothing line after his assassination in 1997.
rewona [7]

Please find the answers in attached file.

Download docx
8 0
3 years ago
During which part of an examination are various body parts and organs touched and felt?
scoray [572]

The correct answer is B. Palpation

Explanation:

In a medical exam or similar, the palpation involves touching different parts of the body to feel the organs and structures in this. This process is essential in diagnosis because palpation can reveal inflammation, pain in certain areas, or abnormalities. Additionally, palpation requires a broad knowledge of anatomy that allows health professionals to understand the structures of the body when they touch these and how to determine abnormalities. Thus, the part of an examination in which body parts are touched and felt is palpation.

8 0
3 years ago
What are some things that games were historically used for?
madreJ [45]

Answer:

D) All of the above

Explanation:

All of these options are true.

Hope it helps and is correct!

5 0
3 years ago
A disgruntled employee can harm a company by launching a computer virus, changing or deleting files, or exposing system password
Setler [38]

Answer:

Threat disgruntled employees

Explanation:

This is a type's threat in a network, why disgruntled employees is a threat?

Because disgruntled employees can implement a plant to damage a company's system when an IT employee be fired.

I t can be difficult to try to protect a system of these threats, Traditionally companies can wait for the less damage, then delete those credentials.

In cloud computing we have IDaaS, where an external company administers the company's credentials, is harder to damage the system in this way.

5 0
4 years ago
Other questions:
  • Where should you look for most objective and unbaised information
    15·1 answer
  • Application Software include programs like: MS Word, Google Docs, MS Exce ect...
    13·1 answer
  • The unique physical address burned into every network interface card is its:
    15·1 answer
  • What do you think about the future of computers?​
    14·1 answer
  • If a computer is not working properly,the best thing to do is ________?
    5·2 answers
  • Any fact or set of facts, such as the words in a letter to a friend or the notes in a song, can become computer ____.
    7·1 answer
  • I was killed <br><br> යඞ <br><br> what do i do
    10·1 answer
  • Assert statements are a tool programmers employ to help them debug their code more efficiently.
    6·1 answer
  • What are the specifications of mine shaft head gear​
    11·2 answers
  • How do you enlarge an image to see more detail on it? (1 point)
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!