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
suter [353]
3 years ago
12

Suppose a reference variable of type Integer called myInt is already declared. Create an object of type Integer with the initial

value of 1 and assign it to the reference variable myInt.
Mathematics
1 answer:
Julli [10]3 years ago
7 0

Answer:

//The class called "Solution" is declared

public class Solution {

 //Main method which signify the beginning of program execution    

 public static void main(String[] args) {

   //myInt variable of type Integer is declared  

   Integer myInt;

   // An object of type Integer is declared with initial value of 1

   Integer newInt = new Integer(1);

   // The value of the new declared and assigned object is displayed to the user

   System.out.println(newInt);

   // The new declared object is assigned to the reference variable myInt

   myInt = newInt;

   // The value of myInt is displayed to the user

   System.out.println(myInt);

 }

}

Step-by-step explanation:

You might be interested in
Luke’s dad need 165 for a new suitcase. If he saves an equal amount for 3 weeks, how much does save each week?
goldenfox [79]
This is easy the answers 55 you just need to divide

165 ÷ 3 = ?

Step 1: Look at the multiplications of three can you make a group with an answer close to one? if not look at 16 and the multiplications of three is there a number close to 16 or exact?

Step 2: In this case 5 × 3 = 15, so 15 is close to 16.


Step 3: Now you need to subtract 16 and 15, 16 - 15 = 1.


Step 4: Like there's no number that has 1 as a answer, you need to lower the 5.


Step 5: Once you lower the five it makes 15 in the in the multiplications of three is there something close to 15 or exact? Yes there is a number that can make 15, it's 5 × 3 so 15 take away 15 makes zero so your answer will be simple, 55.

So Luke's dad needs to save $55 each week.

(sorry if their is spelling errors)
4 0
4 years ago
The total interest on a 5 year 5.2% loan with a principal of $10,000 is 10,000 × 0.052 × 5 = $2,600.
Mrrafil [7]

Answer:

True

Step-by-step explanation:

First, converting R percent to r a decimal

r = R/100 = 5.2%/100 = 0.052 per year,

then, solving our equation

I = 10000 × 0.052 × 5 = 2600

I = $ 2,600.00

The simple interest accumulated

on a principal of $ 10,000.00

at a rate of 5.2% per year

for 5 years is $ 2,600.00.

6 0
3 years ago
Three consecutive integers are such that when they are taken in increasing order and multiplyied be 2,3 and 4 respectively they
xenn [34]

Answer:

The integers art 7,8 and 9

Step-by-step explanation:

Let the first of the integers be x. Since they are consecutive, the next would be x + 1 and the last would be x + 2

Now we multiply these integers by 2,3 and 4 respectively.

Thus, we have 2(x) + 3(x+1) + 4(x+2), all these add up to be 74

Opening the brackets we have;

2x + 3x + 3 + 4x + 8 = 74

9x + 11 = 74

9x = 74-11

9x = 63

x = 63/9

x = 7

The integers are thus x = 7, x+ 1 = 7+ 1 = 8 and x + 2 = 7+ 2 = 9

4 0
3 years ago
The diagram shows a small weight is swinging backwards and forwards on the end of a string. The time for one swing is proportion
Gwar [14]

Answer:

2.4 seconds

Step-by-step explanation:

It is given that,

The time for one swing is proportional to the square root of the length of the string.

T\propto \sqrt{L}

or

\dfrac{T_1}{T_2}=\sqrt{\dfrac{L_1}{L_2}} ....(1)

We have,

L₁ = 64 cm, T₁ = 1.6 s, L₂ = 144 cm, T₂ = ?

Substitute all the values in formula (1).

T_2=\dfrac{T_1}{\sqrt{\dfrac{L_1}{L_2}}}\\\\T_2=\dfrac{1.6}{\sqrt{\dfrac{64}{144}}}\\\\T_2=2.4\ s

So, the new time period of the simple pendulum is 2.4 seconds.

4 0
3 years ago
15 cubic meters to cubic feet
Elza [17]
529.72......................
4 0
3 years ago
Other questions:
  • I need help solving this question
    8·1 answer
  • Which is greater 0.6 or 0.06
    5·2 answers
  • I'll add a photo of the problem! ​
    5·1 answer
  • Which set of numbers represents the domain in the following graph?<br> Helppppppp
    8·1 answer
  • Claire received 3/8 of her allowance on Monday. What decimal shows the part of her allowance that she received?
    8·1 answer
  • What property is (7•5)•2=7•10
    8·1 answer
  • What is the slope intercept of a line that passes through points (-4,-1) and (-8,7).
    10·1 answer
  • True or False.
    6·1 answer
  • Does anyone know how to do thesubstitution method?
    6·1 answer
  • What property does 5(a) = a(5) belong to?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!