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
azamat
3 years ago
11

When using an IDE, what must you do to use a class that's stored in a library? Select one: a. Nothing. Classes in libraries are

automatically available. b. Code an import statement for the class. c. Add the library to your project. d. Both b and c.
Computers and Technology
2 answers:
AleksAgata [21]3 years ago
8 0

Answer:

Both B and C

Explanation:

In order to use methods from another class (library) in your code, the class library will have to be added or imported into your code.

This is implemented in different ways across different programming languages, for example;

Java uses the keyword import followed by the class library name

C++ uses the key word #include

C# Uses the keyword using

GaryK [48]3 years ago
3 0

Answer:

Both b and c.

Explanation:

In my opinion, I think the IDE determines how to use the class. While you import some, some have to be added to your project

You might be interested in
What does the following code segment do?
vampirchik [111]

Answer:

Hi!

var count =0;  <em>//initialize count.</em>

var sevens =0 ;  <em>//initialize sevens.</em>

while(count<100)  <em>// loops while count is minor than 100. *counts never add 1 at the final of the loop, so this while is always true. </em>

{

<em>//Math.floor(x) round to the max Integer a number. Example : 45.90 -> 46.</em>

<em>//Math.random() returns a number between [0, 1).</em>

var roll1 = Math.floor(Math.random()*6+1);   <em>//Gets a integer using Math.random(), adds 1, and round it withMath.floor() then saves in roll1.</em>

var roll2 = Math.floor(Math.random()*6+1);  <em>//Gets a integer using Math.random(), adds 1, and round it withMath.floor() then saves in roll2.</em>

if(roll1 + roll2 == 7) <em> //If the sum of roll1 and roll2 is 7 adds 1 to sevens.</em>

sevens = sevens +1;  

}

<em>//*count is not incremented, so while(count<100) -> always true.</em>

4 0
3 years ago
At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase
Alina [70]

Answer:

  1. var projected_fee = 6000;  
  2. for(var i = 1; i <= 5; i++){
  3.    projected_fee = projected_fee * 0.02 + projected_fee;
  4.    console.log("$" + projected_fee.toFixed(2));
  5. }

Explanation:

Firstly, create a variable, projected_fee, and set the initial tuition fee value to it (Line 1).

Next, user a for loop that run for 5 times to repeatedly calculate the projected_fee based on 2 percent of increment rate (Line 4) and display the projected fee to console terminal (Line 5). The output should be

$6120.00

$6242.40

$6367.25

$6494.59

$6624.48

8 0
3 years ago
True/False: The American Standard Code for Information (ASCII) is a code that allows people to read information on a computer.
Vanyuwa [196]
1. true
2. false
3. storage
4.cpu
hope i helped

6 0
4 years ago
Read 2 more answers
The rules on the Internet for how messages are addressed and passed on are called ____ .
olganol [36]
Answer: Internet Protocal (IP)
7 0
4 years ago
What is computer forensics? Where and how would an IT auditor use thisresource?
riadik2000 [5.3K]

Answer:

Learning how to acquire

Explanation:

4 0
3 years ago
Other questions:
  • Define a function below, get_subset, which takes two arguments: a dictionary of strings (keys) to integers (values) and a list o
    8·1 answer
  • A professor is working with five teams in his marketing research class. He decides to experiment with path-goal theory in helpin
    11·1 answer
  • Using computers in place of paper to design components, products, and processes is referred to as ______.
    11·1 answer
  • What is the difference between Counter Controlled iterations and Sentinel Controlled iterations? What is the purpose of the incr
    8·1 answer
  • Which can be used to plan a program?
    13·2 answers
  • You do not need to remove the lead weights inside tires before recycling them. A) TrueB) False
    15·1 answer
  • D Question 9 What is output by the following?
    5·1 answer
  • What is memory address map​
    7·1 answer
  • Three PCs are on an Ethernet LAN, connected by a hub. Describe how the Ethernet protocol deals with collisions in this situation
    9·1 answer
  • Does putting a glue stick on your touchpad make it stop working pls help
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!