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
Klio2033 [76]
3 years ago
6

Consider the following class declaration.

Computers and Technology
1 answer:
seropon [69]3 years ago
4 0
<h2><u>Thing someThing; </u>is the right answer</h2>

Explanation:

A. Thing someThing = new Thing("Green");

This would create a reference type with value "Green". This is because this calls the constructor with one parameter.

B. Thing someThing = new Thing("");

This would create a reference type with value "" (empty). This is because once again it calls constructor with one parameter.

C. Thing someThing = new Thing();

This would set an object with value as "blue". This is because in no argument constructor, the value of the color is set to blue.

D. Thing someThing;

This is the right answer, because it will declare an object but it will not create it. So it has only null value by default.

E. Thing("Green"); This is an invalid statement.

You might be interested in
Variables used for output are associated with what controls on a form?​
NikAS [45]

Answer:

The answer to this question is given below in the explanation section

Explanation:

There are different form control. for example HTML form controls are:

  • Text Input Controls.
  • Checkboxes Controls.
  • Radio Box Controls.
  • Select Box Controls.
  • File Select boxes.
  • Hidden Controls.
  • Clickable Buttons.
  • Submit and Reset Button.

Variables used for output are associated with text input and label control on a form.

For example, if you want to show the name of the user that is stored in a variable <em>name</em>. Then you want to output the <em>name</em> on a form, for this, you need to associate this variable with label or text input control

8 0
3 years ago
Differentiate between a software package and integrated software and why users would choose one over the other.
chubhunter [2.5K]

Answer:

Software Package means software which is used collectively, implements alike purposes, or combines alike characteristics and is bundled collectively being one kit from software applications, where as, Integrated software is a combination of software specifically built to operate on almost linked applications.

Explanation:

Users should choose Software Package because of the following reasons:

Cheap price compared over buying individual application independently.

Opportunity to introduce the total of the applications at the corresponding period or just that applications you require to work.

The compatible user interface of individual application over another.

The facility to distribute data among applications.

Coming updates can refresh every application whole by the corresponding event.

Perfect for individual use, licensed use, huge or little company.

Every software holds the full-featured transcription.

7 0
3 years ago
1. Write a query in SQL to list the following information of the artists in movie industry. Limit this information to only 5 art
Rudik [331]

Answer:

1) SQL Server

SELECT  Top 5 concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC ;

2) MySQL

SELECT  concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC limit 5;

Explanation:

There two queries first having syntax works fine in SQL server and later with MySQL. All bold faced words are sql keywords. I assumed the tablename is actor as table name is not given if table name is any other replace actor with that name.

6 0
3 years ago
I need an If else statement that sorts three numbers from a file from least to greatest
Vera_Pavlovna [14]
Void sort3(int& a, int& b, int& c)
{
if (a > b)
{
std::swap(a, b);
}
if (b > c)
{
std::swap(b, c);
}
if (a > b)
{
std::swap(a, b);
}
}
5 0
2 years ago
Which of the following is a set of short-range wireless technologies used to share information among devices within about two in
8_murik_8 [283]

Answer:

Option (c) NFC

Explanation:

  • The NFC Technology is a Wireless Technology which works in the range of 10 cm or less.
  • NFC stands for Near Field Communications.
  • The name itself indicates that it a communication mode with the near by objects.
  • The NFC technology is used in Access Cards, Payment Cards and Mobile Devices etc.
  • Option (a) IM - Instant Messaging is the instant text messaging technology sends and receives messages over the internet. It is used in Social Media where instant messaging is available. So, option (a) is not correct option.
  • Option (b) text messaging the technology is the technology in which the text messages are sent over the mobile networks ( in case of text messaging in mobile phones ) or over the internet ( emails, blogging etc). So, option (b) is not correct option.
  • Option (d) DES is not a short range wireless technology. So, option (d) is not correct.
  • Option (c) NFC is correct option.
3 0
3 years ago
Other questions:
  • Which of the following filenames is acceptable on both Windows and Mac<br> operating systems?
    9·1 answer
  • My computer have black spots and line
    7·2 answers
  • Select all that apply.
    8·1 answer
  • The continue statement _________.
    11·1 answer
  • im in honors comupter science and one of my questions is evaluate 18% 7 does anyone know how to answer that
    6·1 answer
  • which of the following uses technical and artistic skills to create visual products that communicate information to an audience?
    14·1 answer
  • List 5 uses of computer​
    9·1 answer
  • Task queues, which allow for asynchronous performance, are an important part of modern processing architectures. Information abo
    13·1 answer
  • Range paramters - for loop<br> question in picture
    13·1 answer
  • What is a thread? what resources does it share with other threads in the same process?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!