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
valkas [14]
4 years ago
11

1. Which of the following is not the name of a Java wrapper class from the Java API?

Computers and Technology
1 answer:
katovenus [111]4 years ago
5 0

Answer:

1. Which of the following is not the name of a Java wrapper class from the Java API?

A. Byte

B. Int

C. Long

D. Boolean

Int is not a wrapper class  

Byte is the wrapper class of byte, Int is not a wrapper class and is a primitive data type, Long is a wrapper class of long, Boolean is a wrapper class for boolean. Hence Int is the correct answer and its wrapper class is Integer.

2. Which of the following statements will cause a compiler error?

A. Integer i = new integer ( ) ;

B. Integer j = new integer ("5") ;

C. Integer k = Integer.valueOf ("5");

D. int m = Integer.pareseInt ("5");

“I” in integer in A and B must be in capital.

3. If variables j and k refer to objects of type Double and j . compareTo (k) returns a value of 1, which of the following is true?

A. The double value held in j is less than the value held inside k.

B. The difference between values held in j and k is 1.

C. The double values held inside j and k are both positive.

D. The double value held inside j is greater than the value held inside k.

Compareto return 1 if first value is greater than with what it is compared.

4. What is a radix as used in the method parseInt (String s, int radix) from the integer class?

A. A numeric base 2 such as for binary or 16 for hexadecimal.

B. The number of characters in the string that represent integers.

C. The Unicode character code to be used when parsing the string.

D. The number of times the string should be repeated before being converted to an int.

The radix value is 10 for decimal, 2 for binary and 16 for hexadecimal. Radix is the base or number of unique digits.

5. Which of the following is a static method of the integer class?

A. intValue ( )

B. parseInt ( )

C. toString ( )

D. compareTo ( )

ParseInt() is a static method of the integer class, and rest are non static methods.

6. Which of the following statements will cause a compiler error?

A. Double a = new Double (10.6) + 3;

B. Integer b = 0;

C. Double c = 0;

D. int d = new Integer (7) ;

In A and C data type does not matches like Double c=0 means Double c=new int(0) which is never true.

7. Which of the following is not an example of autoboxing?

A. Boolean a = false

B. Integer b = new integer (9);

C. double x = 3.0;

Double c = x;

D. Character d = ‘2’;

Autoboxing brings out reference type from the value type, and this is not true for A  

8. What is the result of the following code fragment?

BigInteger a = new BigInteger (“10”);

BigInteger b = new BigInteger (“25”);

a . multiply (b);

a . add (b);

System.out.println (a);

A. 10

B. 35

C. 250

D. 275

a.multiply(b) = 250

a.add(b)= 250+25=275

9. What is the name of the BigInteger method that will calculate the remainder of division by another BigInteger?

A. modulo ( )

B. modulus ( )

C. divisor ( )

D. remainder ( )

Remainder is the correct answer.

Explanation:

Please check answer.

You might be interested in
Which of the following documents specifies the uptime guarantee of a web server?A. Due processB. Due diligenceC. Scope of workD.
Harrizon [31]

Answer: D) Service Level Agreement.

Explanation: A service Level Agreement, also known by the acronym SLA, is a written agreement between a service provider and its customer in order to set the agreed level for the quality of such service. The SLA is a tool that helps both parties reach a consensus in terms of the level of service quality, in aspects such as response time, time availability, available documentation, personnel assigned to the service, among others.

6 0
3 years ago
Which of the following combinations would constitute a vertical merger?
Ksenya-84 [330]

Answer:

D

Explanation:

A vertical merger is when two or more companies merge and are involved at different stages in the supply chain process for a common good or service.  The merger is purposed to increase synchronism, gain more control of the supply chain process, and increase business. Also, it often results in reduced costs and increased productivity and efficiency.

A good example of a vertical merger is a auto manufacturer purchasing a tire company.  A vertical merger  of this sort reduces the cost of tires for the automaker and creates the possibility for expansion of its business by allowing it to supply tires to competing automakers.

6 0
4 years ago
How are computers classified into different types? Explain ​
zloy xaker [14]

Answer:

On the basis of size there are four types of computer. They are minicomputer, micro computer, mainframe computer and super computer. Super computer is the fastest, most expensive, big in size, and most powerful computer that can perform multiple tasks within no second.

3 0
3 years ago
Your computer is taking longer than usual to open files and you noticed that your hard drive light stays on longer than usual wh
cestrela7 [59]

No don't do that. The best way to handle this is to back up all memory on your hard drive and get a bigger size hard drive. Preferably a 2 tb, If need more storage than that then buy a 500 GB ssd Samsung or other products and watch a video how to install one its easy. Its like a Lego. I built my gaming PC and i am 14 so i bet you can too.

4 0
3 years ago
You have been hired to develop the website for a popular speaker. He has asked that you include the PowerPoint slides from his l
amid [387]

The method would you suggest for including the slides on the website are:

  • First one need to Download WOWSlider and then register for it.
  • Then one can make your slider. You need to have some images ready to add to the slideshow that you want to make.
  • Then Export your slider.
  • You also need to add the slider to your own webpage.

<h3>What are the different ways of creating slides?</h3>

PowerPoint are known to be one that gives about different ways to create a presentation.

One can use Blank presentation, one can also used  other Design Template and also From AutoContent Wizard.

Note that in the case above, The method would you suggest for including the slides on the website are:

  • First one need to Download WOWSlider and then register for it.
  • Then one can make your slider. You need to have some images ready to add to the slideshow that you want to make.
  • Then Export your slider.
  • You also need to add the slider to your own webpage.

Learn more about slides from

brainly.com/question/24653274

#SPJ1

6 0
2 years ago
Other questions:
  • Suppose that cells B1 through B100 of an Excel spreadsheet contain the quantity of units ordered on each of 100 different days.
    13·1 answer
  • If you need to reprogramming your gps after you begin driving __.
    15·2 answers
  • Which of the following can be considered classifications of technology companies? (Select all that apply)
    11·1 answer
  • You are required to justify the need to implement a collapsed core network. Which justification below makes sense for a collapse
    7·1 answer
  • 2) [13 points] You’ve been hired by Banker Bisons to write a C++ console application that determines the number of months to rep
    8·1 answer
  • Write a function called show_info that takes a name, a home city, and a home state (a total of 3 arguments) and returns a full s
    12·1 answer
  • Which devices are managed through device management? Device management is the process of managing----(blank)-----devices.
    15·1 answer
  • What is the creative nature of a computer<br> Help
    15·2 answers
  • Need help ASAP <br><br> Thankss + BRAINLIST only for correct answers
    11·1 answer
  • An attacker obtains a connection to your LAN and then uses SETH to perform a MiTM attack between your system and the company RDP
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!