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
forsale [732]
3 years ago
11

A student has created a Book class. The class contains variables to represent the following.An int variable called pages to repr

esent the number of pagesA boolean variable called isHardcover to indicate whether or not the book is hardcoverThe object story will be declared as type Book.Which of the following descriptions is accurate?a- An instance of the story class is Book.b- An instance of the Book object is story.c- An attribute of the story object is isHardcover.d- An attribute of the pages object is Book.e- An attribute of the Book instance is story.
Computers and Technology
1 answer:
Oksanka [162]3 years ago
3 0

Answer:

Option c An attribute of the story object is isHardcover

Explanation:

Given a book class that contains a boolean variable<em> isHardcover</em>. This is considered as an instance variable that will be available to all book object. Since the object story is declared as type Book and therefore it possesses the instance variable, isHardcover. The instance variable in an object is also termed as attribute which is a data component of the object.  

You might be interested in
This isn't school wise but like.. I can't log into IMessage so I decided to try and log into FaceTime but thats not working. Cau
Butoxors [25]
Restart the device that may help
4 0
3 years ago
Help me out-
olasank [31]

Answer:

1. Hard copy

Explanation:

It´s on an app so its a hard copy.

3 0
3 years ago
Read 2 more answers
The management of Ventura Inc. approves the purchase of a few computers for the sales team. The management wants only the most b
BaLLatris [955]

Answer:

Ventura Inc requires only System software's

Explanation:

The system software has three major functions which are:

1. File and disk management: this involve managing of files in the system, when user want to save, move, copy, delete and rename files, The system software will handle those task

2. Allocating system resources: The system resources such as time, memory, data input and output are  allocated by the system software. The main memory is managed by the system software to avoid conflict among various task.

3. Monitoring system activities:  The system security and system performance is also monitored by the system software.

The first two functionalities are the requirement of ventura inc  

8 0
3 years ago
To have a​ monopoly, barriers to entering the market must be so high that no other firms can enter. Do network externalites crea
svp [43]

Answer:

Network externality is one of the market failures that justify the regulation of telecommunications markets and especially the interconnection between operators' networks. Externality is defined as the variation in utility that an agent obtains when the number of other agents that consume the same type of good or service varies. External effects are considered network effects that cannot be internalized by market agents.

Network externalities lead to the creation of natural monopolies as they generate positive feedback processes that make each new user of a service more valuable for the next user.

8 0
4 years ago
What method of the Math object can be used to return the largest value from the values that are passed to it?
miss Akunina [59]

Answer:

the Math.max() method

Explanation:

The java.lang.* package contains all the essential components needed for a JAVA program which involves numbers and all the operations done on the numericals.

The java.lang.math class contains all the methods needed to perform mathematical operations on numerical values.

All the methods in the question are discussed below with examples.  

Math.max() method

java.lang.Math.max(double/ int/ float a, double/ int/ float b)

This method returns the highest value from among the parameters passed to it.

The syntax for the above is  

Numbers can be integers, float and double or long. The return type is the same as the parameters.

Two values to be compared are passed as arguments and the higher value of them is returned.

This function also accepts negative integers as parameters.

Math.max(-9, -2);

Gives -2 as the output.

Math.max(0.34, 0.45)

Gives 0.45 as the output.

Math.ceil() method

java.lang.Math.ceil(double/ int/ float a)  

This method returns the nearest greater whole number for the given number.

Integer parameter returns an integer number.

Math.ceil(7);

Gives 7 as the output.

Decimal number will return the nearest higher integer.

Math.ceil(8.7);

Gives 9.0 as the output.

Math.ceil(-0.34)

Gives -0 as the output.

Math.pow() method

java.lang.Math.pow(double/ float/ int a, double/ float/ int b)

The above method returns the result of a raise to the power of b.

The first parameter is the base while the second parameter forms the exponent.

Math.pow( 2.3,  4.5 );

This calculates (2.3)^4.5.

Gives 42.44‬ as the output.

Math.pow( 2, 3 );

This calculates the value of 2^3.

Gives 8 as the output.

Math.abs() method  

java.lang.Math.abs(double a)

This method returns non-negative value of the numerical parameter passed to it. Absolute of a number does not changes its value but changes the sign of a negative number. It returns the positive or negation of the negative input number.

Math.abs(-0.1234)

Gives 0.1234 as the output.

Math.abs(12.34)

Gives 12.34 as the output.

These methods require java.lang.Math to be imported in the program.

7 0
4 years ago
Other questions:
  • What is the legal right granted to all authors and artists that gives them sole ownership and use of their words, software, pict
    9·2 answers
  • Ryan has created a Word document to be used as a review quiz for students in a classroom setting. The document contains both que
    6·1 answer
  • Hich of the following usually indicates that there is no moreinput to be read by a program?
    14·1 answer
  • Me2540 week 5 assignment<br> what do i want to know?
    9·1 answer
  • Jane is creating a slide that will have a large heading and number of bullet points below it. What slide format should she use?
    12·1 answer
  • Software licensed using the Open Software Initiative (OSI) definition
    5·2 answers
  • I have no idea what I’m doing and this is due in 45 minutes
    7·1 answer
  • if prakash gives one of the marble from what he possessses to kamala then they will have equal number of marbles.if kamala gives
    10·1 answer
  • What Microsoft feature enables you to represent text as colorful visuals
    12·1 answer
  • A(n) ____ is system software. Group of answer choices word processing program presentation graphics program operating system spr
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!