A year with 366 days is called a leap year. Leap years are necessary to keep the calendar synchronized with the sun because the earth revolves around the sun once every 365.25 days. Actually, the figure is not entirely precise, and for all dates after 1582 the Gregorian correction applies. Usually years that are divisible by 4 are leap years, for example 1996. However, years that are divisible by 100 (for example, 1900) are not leap years, but years that are divisible by 400 are leap years (for example, 2000). Write a program that asks the user for a year and computes whether the year is a leap year. Provide a class Year with a method isLeapYear. Use a single if statement and Boolean operators.
I have two java files to work from below: Year.java and LeapYearTester.java. The LeapYearTester.java is not supposed to be altered. Any help on the problem would be appreciated. Thank you.
Year.java
public class Year{
// declare your instance variables here
// write your constructor here
public Year(int y){
// your code here
}
public boolean isLeapYear(){
// your code here
}
}
LeapYearTester.java
import java.util.Scanner;
public class LeapYearTester{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
System.out.println("Please enter a year");
int year_input = input.nextInt();
// now make a Year object
Year theYear = new Year(year_input);
// now check to see if it's a leap year
if (theYear.isLeapYear())
System.out.println("That's a leap year!");
else
System.out.println("That's not a leap year!");
}
}

Answers

Answer 1

Answer:

omg what is this

Explanation:

how will I answer this


Related Questions

Bias in the development of computational artifacts often arises from _____. Select 2 options.

testing software


conscious bias


including outliers


unconscious stereotyping


accurate data

Answers

Answer:

concious bias

unconciscous sterotyping

Explanation:

The bias in computational artifacts results in conscious bias and unconscious stereotyping. Thus, options A and C are correct.

What is a bias in technology?

A bias in technology is given as the developed system of the systematic and repeatable errors that makes the formation of the unfair outcomes. The development of the working outcomes formed is responsible for the development of the inappropriate function of linked processes.

The development of the bias in the computational artifacts is found to be the result of conscious bias and unconscious stereotyping. Thus, options A and C are correct.

Learn more about bias, here:

https://brainly.com/question/13044778

#SPJ2

what are The yoshi Themes in super smash bros ultimate

Answers

Answer:

I believe there's Yoshi's Island Brawl, and Yoshi's Island for 3DS/Wii U

Explanation:

PLS HELP! WILL MARK BRAINLIEST!!! Fiona's favorite camera allows her to view, compose, and focus her subject through
the lens, which means she sees her picture through the frame. She can also switch
out the lens for more control of elements like distance, overall focus, and brightness,
and she enjoys how the camera functions well on an automatic setting.
What type of
camera is likely Fiona's favorite based on this description?
1. point & shoot
2. digital single lens reflex (DSLR)
3. ILC
4. hybrid camera

Answers

The type of  camera which is likely Fiona's favorite based on the above description is: 2. digital single lens reflex (DSLR).

A camera can be defined as an optical, electronic device that has an aperture fitted with a lens and a shutter for recording and capturing visual images.

Generally, there are different types of camera and these include:

Point and shootHybrid cameraInterchangeable lens camera (ILC)Bridge camerasMirrorless camerasDigital single lens reflex (DSLR)

A digital single lens reflex (DSLR) is designed to combine the operational mechanism and optics of both a single lens reflex camera and a digital imaging sensor. Thus, a digital single lens reflex (DSLR) can be used for the following:

1. Seeing your pictures through the frame.

2. To control visual elements such as distance, overall focus, and brightness.

Read more on DSLR here: https://brainly.com/question/25884751

VAX is an example of a:​

Answers

Answer:

VAX architecture is an example of the CISC (Complex Instruction Set Computers) therefore there are large and complicated instruction sets used in the system. Memory: VAX architecture consists of 8- bit bytes memory

Write a recursive function encode that takes two Strings as an input. The first String is the message
to be encoded and the second String is the key that will be used to encode the message. The function
should check if the key and message are of equal length. If they are not the function must return the
string “Key length mismatch!”. How do I write this

Answers

Answer:

68hm

Explanation:

gdhdhdhfhfhrkiduv

Why would over-50 executives have a harder time buying into the idea of social media?​

Answers

Answer:

Most likely that social media has a large number of user base already and also a large number of social media platforms are already there so it is hard to compete will those big competitors like Discord.

please give brainliest

What type of data causes concern for institutions or business when collected, stored, and not secured prope
Advertising information
Personal identifying Information
User interface information
Marketing information

Answers

The type of data which causes concern for institutions or business when collected, stored, and not secured properly is: B. Personal Identifying Information.

A personal identifying information (PII) can be defined as any representation of data or information that can be used to identify the specific identity of an individual.

Basically, a personal identifying information (PII) is an information that permits the specific identity of an individual to whom the information is ascribed or attributed.

Some examples of a personal identifying information (PII) include the following:

Social security number (SSN).E-mail address.Driver's license number.Bank account number.Full name.Passport number.

As a general rule, it is very important and essential that institutions or business organizations that are in possession of personal identifying information (PII) should secure them properly, in order to avoid data breach or unauthorized access by hackers.

Read more: https://brainly.com/question/4997276?referrer=searchResults

Read a number, add 10% and output the result.

Answers

Let's use python

Program:-

[tex]\tt num=(int(input("Enter\:the\: number:")))[/tex]

[tex]\tt p=0.1*num[/tex]

[tex]\tt print("The\: result\:is",p)[/tex]

Sample output:-

Enter the number: 100

The result is 10

Remember not to use tools that are ________ in any way.

Answers

Answer (Broken)

The answer is broken because I took the test and it is the most logical answer.

Hope this helps have a nice day :)

Remember not to use tools that are broken in any way. Thus, the correct option for this question is D.

What are tools?

Tools may be defined as any type of instrument or a simple piece of equipment that you hold in your hands and utilized to do a particular kind of work. Some examples of tools may include, spades, hammers, knives, etc.

A tool can be any item that is used to achieve a goal. Equipment usually denotes a set of tools that are used to achieve a specific objective. But prior to their utilization, it is to be remembered that never use tools that are broken by any means.

Therefore, remember not to use tools that are broken in any way. Thus, the correct option for this question is D.

To learn more about Tools, refer to the link:

https://brainly.com/question/25860017

#SPJ2

What are the major prevention measures of a computer virus?​

Answers

Answer:

use a firewall as well as a strong password

what is good work ethic?​

Answers

Answer:

A strong work ethic is an important part of being successful in your career. Work ethic is a set of values based on the ideals of discipline and hard work. ... Forming good habits such as focusing, staying motivated, finishing tasks immediately, and more helps to create a good work ethic that will impress employers.

Explanation:

HOPE IT HELPS

What does ATM mean on lego mario mean I know that this is not school related but I trying to help my brother ​

Answers

Answer:

I HAVE NO IDEA-

Explanation:

Write a Boolean function named isPrime which takes an integer as an argument and returns true if the argument is a prime number, or false otherwise. Use the function in a program that prompts the user to enter a number then displays a message indicating whether the number is prime.

Answers

Answer:

public static lotsof verbosekrap(String args[]) {

int num;

printf("Enter this nonsense BF: ");

scanf("%d", &num);

isPrime(num);

}

public boolean isPrime(int num) {

      if (num == prime) {

        returns true;

       } else {

        returns "your mom sucks and fails";

}

Explanation:

this is a mix of C and Java, I don't care

______ provide visual representations of the options available for a given command

Answers

The visual representations is provided by the Gallery in the computer system.

Basically, gallery means the collection of pictures in a Computer.

Gallery is what enables systematic display and the management of distinct images in the computer.

A very good illustration is use of Clipart images. It is a ready made picture gallery available in the computer.

Every function on computer are represented with an icon, the icon images are enable through the Gallery.

In conclusion, the Visual representations of the options available for a given command is provided by the Gallery.

Read more about Gallery here

brainly.com/question/2946480

Someone I had an idea about how to identify any question. so look at this question for instance (no need to answer i have it already):

Students use a microscope to look for structures present in four different cells. The students placed an X for each structure that was viewed for each cell on the table shown. Which cell that was viewed is most likely a prokaryote?

Cell W
Cell X
Cell Y
Cell Z

(the correct answer was cell x)

Alright so how could we identify this? I think I have devised a method!

^charicters|#words|~vowls|-answers|+platform|$subject|
^255|#49|~71|-W/X/Y/Z|+USAtp|$BIO

So basically we only need a little information to identify any question as you can see.
Tell me what you think or if it could become the way to get answers. You could go and fill in the question (^charicters|#words|~vowls|-answers|+platform|$subject|) on website and find the very same question and its answer.

Answers

Answer:

thts really cool

Explanation:

i didnt answer bc u alr have it the reason i answered this is bc i need pts so pls make me brainliest

Match the TCP/IP Layer to a problem that can happen there.

1. Mistyped address
Internet layer
2. Packets fail to arrive
application layer
3. Server not found
transport layer

Answers

Answer:

server not found transport layer

Answer:

2 Transport layer

3 Internet layer

1 Application layer

Explanation:

because i got it right

example of graphics packages​

Answers

Answer:

adobe photoshop, ms paint, corel draw..and more

cuales son las caracteristicas principales del AMD Ryzen 5 5600X 3.7GHz ,Nfortec Lynx Cristal Templado USB 3.0 RGB Blanco , Asus PRIME B450M-A II , Corsair Vengeance RGB Pro Optimizado AMD DDR4 3200 16GB 2x8GB CL16 , Kingston FURY Beast DDR4 3200 MHz 16GB 2x8GB CL16, MSI GeForce GT 730 Low Profile 2GB GDDR3 , LG 24MP59G-P 24" LED Full HD IPS,Logitech Wireless Combo MK270 Teclado Inalámbrico
Recíbelo mañana , Tempest MS-300 RGB Soldier Ratón Gaming 4000DPI , Asus PCE-AC51 Adaptador Inalámbrico PCI-e AC750 , Creative Sound Blaster Play! 3 Tarjeta de Sonido USB, Kioxia EXCERIA 480GB SSD SATA y Tempest Gaming GPSU Fuente de Alimentación 750W?

Answers

It’s 300 gb for gta 5 and gta rp and then the internet and I don’t want it

Problem Solving while not necessary for every situation, it is recommended to follow most if not all steps. O True O False​

Answers

Answer:

True

Explanation:

Problem Solving is really important.

chọn lợn theo hướng lấy thịt

Answers


bạn muốn tôi làm điều đó như thế nào? Tôi sẽ giúp bạn nếu tôi có thể. Xin lỗi. Chúa phù hộ

Hi I got a new phone and my photos are taking so long to download, on Friday it was at 13000 what do I do it’s taking so long

Answers

Answer:

Try to use your mobile data but it might use up quite a bit. Also instead of downloading it transfer it to a laptop or a usb stick, or you can upload your photos to the cloud.

Consider a byte-addressable computer with 24-bit addresses, a cache capable of storing a
total of 64KB of data, and blocks of 32 bytes. Show the format of a 24-bit memory address for:
(a) Direct mapped
(b) Associative
(c) 4-way set associative

Answers

Answer:

A.

Explanation:

yan Ang sagottt ko yannnnnñnnnnnnnnnnnnn

Output devices allow the user to enter information into the system or control its operation.
True or False

Answers

Answer:

False.

Explanation:

if you are going to develop a special computer, what would it be and explain it's purpose.​

Answers

Answer:

It would be to figure out what cancers someone could exactly so no need for a biopsy

Output devices allow the user to enter information into the system or control its operation.
True or False

Answers

Output devices allow the user to enter information into the system or control its operation: False.

A computer can be defined as an electronic device that is designed and developed to receive data (instructions) in raw form as an input, and then processes these data into an information (output) that is usable by an end user.

Basically, the main parts or components of a computer include the following;

Central processing unit (CPU): this is the brain of a computer and it does all the processing and logical control.Input devices: they are used for entering data or information into a system. Some examples of input devices are keyboard, mouse, scanner, etc.Motherboard: this is the circuitry upon which other components are installed.Output devices: they are used for displaying the processed information from a system. Some examples of output devices are printer, monitor, speaker, etc.

For instance, an end user can use a keyboard as an input device to enter commands or type textual information on a computer system.

Also, a mouse is an input device that can be used by an end user to select one or more time on a computer system.

In conclusion, input devices rather than output devices allow an end user to enter information into a system or control its operation.

Read more: https://brainly.com/question/17402566

urgent. I will mark you brainliest. explain why cyber warfare is a real threat.​

Answers

Answer: Cyber warfare is a real threat since being able to hack another computer especially a countries computer with lots of info in their weaknesses can lead to their downfall. Since they can even possibly if their skilled enough hack their entire data base system and leak it to the public and that wouldn't be good for them not in a single possible way. That's the reason it's dangerous not only that but also because they can access their servers; which can let them access anything online from the whole country including banking information military info which can let them know which area there gonna go to next equipment there gonna bring and where they're gonna launch missiles, bombs, even nukes if they decide to launch one. And being able to hijack the computer that launches the nukes can make the hacker launch the nuke to a different place or launch the nuke on the country trying to launch the nuke.

Explanation:

Answer:

Cyber warfare can present a multitude of threats towards a nation.

Explanation:

At the most basic level, cyber attacks can be used to support traditional warfare. For example, tampering with the operation of air defenses via cyber means in order to facilitate an air attack.

Please help



Due at 11:59

Answers

Answer:

1) IDEAL First Step: Identify

You need to get to the bottom of the issue, not play the blame game.

Have your team members (perhaps after a team-building game like #7) write all the causes they can think of on a large white board. Go through them one-by-one, asking one question: what caused this cause?

By backtracking to the ultimate root cause, you create a solid foundation for further discussion.

Explanation:

Answer:

a silly problem would be the problem of me not wanting to give an answer. how would you solve that problem.

Explanation:

identify the data type and the conversation specification of the given constant '100.75'

Answers

Answer:

primitive data type

Explanation:

please mark me as brainlest

The data type and the conversation specification of the given constant '100.75' is a Floating-point.

What is a Floating-point?

This is known to be a data type that is made up of number that has a decimal point. For example 111.75

Conclusively, Note that the Floating-point can be shown to have slower and less correct and they can be used for a larger amount of numbers and thus the data type and the conversation specification of the given constant '100.75' is a Floating-point.

Learn more about  data type from

https://brainly.com/question/179886

#SPJ2

What operating system are you using? On most computers, you can answer this question by right-clicking on the "My Computer" icon on the desktop and selecting Properties from the menu. The line under System: tells you the name of your operating system. Enter the name of your OS in the space provided

Answers

Answer

Chrome OS

Explanation:

i cant tell whether this is a question you c&p'd or if your genuinely asking people what os they're running

explain how VPN works and name the 3 VPN protocol

Answers

Explanation:

A VPN hides your IP address by letting the network redirect it through a specially configured remote server run by a VPN host. This means that if you surf online with a VPN, the VPN server becomes the source of your data. This means your Internet Service Provider (ISP) and other third parties cannot see which websites you visit or what data you send and receive online. A VPN works like a filter that turns all your data into "gibberish". Even if someone were to get their hands on your data, it would be useless.

1) PPTP

Point-to-Point Tunneling Protocol

2)) L2TP/IPSec(Layer 2 tunnelling protocol)

3) secure socket tunnelling protocols)

Other Questions
Please solve and give answer 2x^3/3y equivalent expressions Determine the following probability,Meeting at least one left-handed person in nine random encounters on campus when the incidence rate is 12% (12 in 100 people are left-handed)The probability is(Round to three decimal places as needed.) Chemical properties of earth metals- What language is the following written in:Aloha wau ia oe NO BOGUS ANSWERS TO GET POINTS PLEASE! I WILL REPORT YOU! 2. How many circles of radius 1 unit can you fit inside a circle of radius 3 units so that theydo not overlap? How do poverty and ignorance ofparents hinder the growth ofchildren?Prepare an article about thisSituation taking examples from yoursurroundings.Also suggest measures toovercome the problem A certain group of women has a 0.94% rate of red/green color blindness. If a woman is randomly selected, what is the probability that she does not have red/greencolor blindness? what is the meaning of assent PLZ PO SAGUTAN NIYO PO LAHAT PLZ :"(8. The wordA. kainB. ginaspalawanesC. ikatD. inabelof Ilocanos is literally means "woven".9. It is an handwoven fabric made by Ilocanos which is more popularly knownas "Abel Iloco".A. kainB. ginaspalawanesC. ikatD. inabel10.Bontoc's blanket and clothing. A fabric used in wanes, lufid and ginaspalawanesA. kainB. siniwsiwanC. ikatD. inabel11. Some of their textiles are reserved for use only during special occasions suchas birthgiving, weddings, and harvesting.A. TigguiansB. KalingasC. BontoksD. Gaddangs12.An embroidered formal men's wear in the Philippines and it is the mostversatile apparel on special occasions like weddings and formal affairs.A. BurdaB. BarongC. BurdadosD. Gaddangs13.Burnay (locally known as tapayan or banga) are earthenware jars crafted In the poem 'Song' each of the flowers is being compared to :- What will be the approximate temperature of the liver if a victim dies at 2:00 am and isfound later that morning at 10:00 am? En la fabricacin de un automvil, se requiere pintarlo, secarlo y pulirlo. La compaa Motores psilon produce tres tipos de automviles: el Delta, el Beta y el Sigma. Cada Delta necesita 10 horas de pintado, 3 horas de secado y 2 horas de pulido. Un Beta necesita 16 horas de pintado, 5 horas de secado y 3 horas de pulido, mientras que un Sigma necesita 8 horas de pintado, 2 horas de secado y 1 hora de pulido. Si la compaa dispone de 240 horas para pintado, 69 horas para secado y 41 horas para pulido al mes Cuntos automviles de cada tipo produce? Garden A and Garden B have yellow and white flowers.Garden A has 125 white flowers and 200 yellow flowers.Garden B has 46 white flowers more than garden A.If the total number of flowers in the two gardens is 616, howmany yellow flowers does Garden B have?yellow flowers help me pls ASAP I need it in 5min helpppp turn overturn outrun back Please be sure ______ your phone while _______. 1 Elles sont professeurs: 2. Tu es boulanger: 3. Il est marchand: 4. Elle est pharmacienne 5. Nous sommes avocats What is The particle in the nucleus of an atom that has the same mass of protons but no net charge Which of the following points is located on land ?