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
marin [14]
3 years ago
14

Java Programming

Computers and Technology
1 answer:
marta [7]3 years ago
8 0

Answer:

Explanation:

The following codes are written in Java. Both the class and the classDemo are in the same file but seperated as classes should be for each part of the question. The example outputs are shown in the attached pictures below, and the codes are added as txt files due to technical difficulties.

Download txt
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark"> txt </span>
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark"> txt </span>
b2e1a11ef00df2a6c0b696a50db03ec3.jpg
019d9aa1c72a28c8788af667b1cb71dd.jpg
You might be interested in
When a pitcher is holding a baseball, the ball has ______energy.
MA_775_DIABLO [31]
Answer would be D)potential
3 0
3 years ago
Read 2 more answers
You are troubleshooting a cpu and have already cut power, disconnected the power cable, opened the case, and put on your antista
Nonamiya [84]
If you're aware that it is the CPU causing this problem, then you want to aim at the CPU fan, it is usually always on top of the CPU, once it is removed, take some time to know what socket you motherboard has, there are many types of sockets for both Intel and AMD  PC's the most common socket's for Intel is LGA1150 and for AMD it is either AM3/AM3+
3 0
3 years ago
Lydia is trying to take an aerial shot from the window of an airplane. Where should she hold her camera to get the best shot?
IrinaVladis [17]
Inside The window inside the house
8 0
3 years ago
Write a program to prompt the user for a positive integer: N. The program will repeatedly divide the input in half using a loop,
a_sh-v [17]

Answer:

using python to write the program

Explanation:

#To use the log function, the module must be imported

import math

n=int(input("Enter number to be halved"))

count=0

while(n>1):

   count=count+1

   n=n//2

print("The number halved is now ", n, "The is the ", count, "iteration")

x = math,log(2,(n))

print("The log of n is:", x)

5 0
3 years ago
Which type of user profile is stored in the C:\Users folder and is automatically created when a user logs on to the computer for
Sladkaya [172]

Answer:

a. Local user profile.

Explanation:

Local user profile is a type of user profile which is stored in the C:\Users folder and is automatically created when a user logs on to the computer for the first time and it is being stored on the local hard disk of the computer.

Generally, in Microsoft windows any change made to the local user profile is peculiar to the user and the host computer on which the change is made.

Hence, local user profiles avails several users the opportunity of sharing a single computer with their respective user settings and data.

3 0
3 years ago
Other questions:
  • In microsoft what displays when the mouse pointer rests on selected text or data that can be formatted.
    8·1 answer
  • You can write as many constructors for a class as you want, as long as they all have different ____ lists.
    8·1 answer
  • Explain the importance of calculating a robot’s ability to extend its arm
    15·1 answer
  • When you select Insert and click on a shape the mouse pointer turns into a/an
    12·2 answers
  • __________ is a collection of formatting options—such as a frame, a rounded shape, and a shadow—that changes a picture’s overall
    5·1 answer
  • Answer ASAP and I'll give brainliest.
    10·2 answers
  • State the rule of 72 for the number of years to halve.
    8·1 answer
  • Which of the following game markets especially benefits from using vector graphics?
    8·1 answer
  • Which of the following processes demonstrates that matter is made up of minute particles? (A) Difussion (B) Capillarity (C) Dist
    15·1 answer
  • 1
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!