Write a method that takes a parameter for the number of a month and prints the month's name. You may assume that the actual parameter value passed to the method is always between 1 and 12 inclusive.

This method must be called monthName() and it must have an integer parameter.

Calling monthName(8) should print August to the screen.

Answers

Answer 1

Answer:

Get month number from month name

Use Java's Calendar class. It can parse any given string into a valid calendar instance. Here is an example (assuming that the month is in english). Date date = new SimpleDateFormat("MMMM").parse(monthName); Calendar cal = Calendar.getInstance(); cal.setTime(date); println(cal.get(Calendar.MONTH)); You can specify the language in SimpleDateFormat: String monthName = "März"; // German for march Date date = new SimpleDateFormat("MMMM", Locale.GERMAN).parse(monthName); Calendar cal = Calendar.getInstance(); cal.setTime(date); println(cal.get(Calendar.MONTH)); By default, Java uses the user's local to parse the string. Keep in mind that a computer starts counting at 0. So, January will be 0. If you want a human readable date, you should format the calendar instance: SimpleDateFormat inputFormat = new SimpleDateFormat("MMMM"); Calendar cal = Calendar.getInstance(); cal.setTime(inputFormat.parse(monthName)); SimpleDateFormat outputFormat = new SimpleDateFormat("MM"); // 01-12 printlng

MARK ME BRAINIEST FOR MORE INFO


Related Questions

Why do we use if statements?



To tell Tracy to stop our code if there’s an error


To have Tracy make decisions based on conditional statements


To tell Tracy to do something if we run our code


To have Tracy complete one function at a time

Answers

answer is 2 i’m pretty sure

What should a user do to find and replace text throughout a field? Use the drop-down menus to complete the steps
1. Put the cursor in the field to search
2. In the Home tab, open the dialog box
3. On the
tab, enter the text to search for and the replacement text
4. After a few instances to make sure the text is being replaced correctly, you can then click
to
change all instances

Answers

The thing that a user should do to find and replace text throughout a field  are:

1. Put the cursor in the field to search.

2. Open the  find  dialog box.

3. On the Replace tab, enter the text to search for and the replacement text.

4. Click  Replace All  to change all instances.

How do you search for and replace text across an entire field?

The keys on the keyboard CTRL+F is often used  to find. The dialog window for Find and Replace appears. Click the Find tab in the Find and Replace dialog box to search for data. Click the Replace tab to perform a find-and-replace operation.

The operations are:

1. Click Find and Select in the Editing group on the Home tab, then select Replace from the drop-down list.

2. In the dialog box, select the objects you want to Find and Replace by clicking the Options button.

3. Press the Replace or Replace All button.

Therefore, If you want to replace all occurrences of a word or format in a document, use the Ctrl+H Find and Replace function. This is very useful for lengthy papers.

Learn more about Editing  from

https://brainly.com/question/15768529
#SPJ1

See full question below

What are the steps to replace one piece of text with another throughout a field? Use the drop-down menus to

complete the statements.

1. Put the cursor in the field to search.

2. Open the _____

dialog box.

3. On the Replace tab, enter the text to search for and the replacement text.

4. Click -------to change all instances.

A python program that asks the user for four numbers and prints out the first and last number. It must have an array used in it.

Answers

Answer:

numbers = []

for i in range(4):

 z = int(input("enter a number: "))

 numbers.append(z)

print("First is {} and last is {}".format(numbers[0], numbers[-1]))

Explanation:

Now I understand your other question as well! ;-)

what is the fullform of COMPUTER?​

Answers

Answer:

COMPUTER stands for Common Operating Machine Purposely Used for Technological and Educational Research

Explanation:

Using more than one array to store related data is called _____________ arrays.

Answers

Answer:

Using more than one array to store related data is called parallel arrays.

Explanation:

I just did it and got 100% on the quiz

Using more than one array to store related data is called parallel arrays.

What is array?

An array is a type of data structure used in computer science that holds a set of elements that are all uniquely recognised by at least one array index or key.

An array is stored in a way that allows a mathematical formula to determine each element's position given its index tuple.

In parallel arrays, a collection of data is represented by two or more arrays, where each corresponding array index represents a field that matches a particular record.

For instance, the array items at names and ages would explain the name and age of the third person if there were two arrays, one for names and one for ages.

Thus, the answer is parallel array.

For more details regarding parallel array, visit:

https://brainly.com/question/27041014

#SPJ6

Every single device can be connected to every other device on network, making the network mesh. This statement is True or False? *
1 point
True
False​

Answers

Answer:

true

Explanation:

we can connect to any device which has a network connection

I need help I have questions I need answers in coding html,css,js and python.Fast
The purpose of the sleep method is to reduce the amount of energy the program uses.
True
False
The _____ is a collection of webpages that use the internet.
pseudocode
World Wide Web
Python
server
Which of the following lines of code would correctly create a list called weapons?
weapons == [“sword”, “sling”, “knife”]
weapons = [“sword” or “sling” or “knife”]
weapons = (“sword”, “sling”, “knife”)
weapons = [“sword”, “sling”, “knife”]
Which of these lines of code would import both the random and the time modules?
import random, time
import random and time
time.import, random.import
import(random, time)
When using HTML, your text should be placed between the opening and the closing tags.
True
False

Answers

Answer:

1. True

2. World Wide Web

3. weapons = [“sword”, “sling”, “knife”]

4. import random, time

5. True.

Explanation:

For number 1  I'm not quite sure since I never personally used it, but it does reduce CPU usage when activated so it's very possible it's true.

Use the drop-down tool to select the word or phrase that completes each sentence. Text within a document that is linked to other information available to the reader is called _______. A unique location for a computer on the network is its _______. The ________ is the ability of a network tor cover after any type of failure. The computer that responds to requests from the client computer is known as the ________. A ________ is an ordered list of tasks waiting to be performed.

Answers

Answer:

1. Hyperlink

2. IP address

3. Fault tolerance

4. Server

5. To do list

Explanation:

Text within a document that is linked to other information available to the reader is called HYPERLINK.

A unique location for a computer on the network is its IP ADDRESS.

The FAULT TOLERANCE is the ability of a network to cover after any type of failure.

The computer that responds to requests from the client computer is known as the SERVER.

A TO-DO LIST is an ordered list of tasks waiting to be performed.

Answer:

hypertext

IP address

fault tolerance

server

queue

Explanation:

just did it on edg

Write a python program to print numbers from 100 to 50 using for loop.
I NEED THIS URGENT PLEASE

Answers

Answer:

i = 100

for i in range 50

print(i--)

Explanation:

prints down from 100 to 50, i is printed then decremented.

--concept mapping--
importance of trees for people:
1.
2.
3.
4.
5.
importance of trees for animals
1.
2.
3.
4.
5.​

Answers

Answer:

-Both need oxygen from the trees to breathe

-Without trees the population of animals and people would be dying

Explanation:

Thats all I can think of

PLZ HELP ASAP

Jaelyn is working late at night on a project that is due the next day. She is not sure how to add a picture to her document, and it is too late to call or text her teacher or friends. What is the best option for Jaelyn?
1-Decide not to use a border.
2-Provide negative feedback to Office Online.
3-Type a question in the “Tell me what you want to do” box.
4-View accessibility options.

Answers

Answer:

its accessibility options

Explanation:

because on office that's were you go to view what you can do

Answer:

its accessibility

Explanation:

I took the test

PLEASEEE HELPPP im gonna cry
What’s the name for the array of buttons that provides quick access to commonly used commands?

A.
menu bar
B.
toolbar
C.
ruler
D.
scroll bar

Answers

Your answer is:

B. toolbar

Answer:

B) Toolbar

_______________

PLEASE HELPPPPPPP What should you always disconnect before installing hardware inside a computer’s case?

A.
all cabling
B.
all internal components
C.
the CPU
D.
the internal DVD drive

Answers

Answer:

a) all cabling hope it helps

what is the best free website to learn phyton programming

Answers

That is something you should may research on with yourself! Don’t accept a link
From strangers it’s preferred to find one that best suits you!

In a well-developed paragraph - using domain-specific vocabulary and academic writing - address the following writing prompt:
Explain the concepts of GIGO—garbage in, garbage out. Why do you think it’s a helpful concept in coding? How do you think it can be a helpful concept outside of coding?

Answers

Answer:

GIGO is a computer science acronym that implies bad input will result in bad output. Good programming practice dictates that functions should check for valid input before processing it. ... A well-written program will avoid producing garbage by not accepting it in the first place.

Explanation:

Which WYSIWYG editor keeps the code clean and validates HTML code
?

A. MS Word

B. Kompozer

C. Gedit

D. Notepad

E. BlueGriffon

Answers

Answer:

E. BlueGriffon

Explanation:

Answer:

b. KompoZer

Explanation:

KompoZer is free software. You can use it on Windows, Mac OS, and Linux. It has a customizable interface with modified toolbars. It validates HTML against the current web standard and keeps the code clean.

3.5 Code Practice: Question 1 edhesive

Answers

Answer:

x = int(input("What grade are you in? "))

if(x == 9):

  print("Freshman")

 

elif(x == 10):

  print("Sophomore")

 

elif(x == 11):

  print("Junior")

 

elif(x == 12):

  print("Senior")

 

else:

  print("Not in High School")

Explanation:

computational thinking is define as​

Answers

Answer:

In education, computational thinking is a set of problem-solving methods that involve expressing problems and their solutions in ways that a computer could also execute.

Explanation:

Im just so smart. Just dont look at Wikipedia

when should a computer definitely have an ip address

Answers

What do you mean they all come with ip once you buy it
There are two types of IP addresses. PUBLIC IP is assigned by the ISP and PRIVATE IP address provided by your Router. When you are connected to network you definitely should have an IP address.

GUYSSSS ITS AN EMERGENCY!!
how do I remove the search bar that's on top of my screen?

Answers

Answer:

IF you installed it go into your files and look for downloads the most recent download is what's up there. if its a windows then you need to go into settings-apps then select filter in which shows your most recent. delete the one in your downloads. After that run virus defender. After that then you need to restart computer.

IF it was already there then there is no removing it.

Oh and next time don't install anything without taking 30 seconds to understand what it is.

The intersection of column D and row 6 is a cell with a cell address of
Select one:
a. D:6
b. D6
c. 6:D
d. 6D

Answers

Answer:

C. 6:D

Explanation:

Answer:

6:D

Explanation:

This works for plato but as for any other testing site I am unaware of.

Please help I suck in computer science ​

Answers

Answer:

print(5**3)

Explanation:

** is the exponentiation operator

name the statement which is used at end of each case from computer subject

(plz answer fast and correct i will mark as brainlist ......)​

Answers

Answer:

In computer programming, a statement is a syntactic unit of an imperative programming language that expresses some action to be carried out.[1] A program written in such a language is formed by a sequence of one or more statements. A statement may have internal components (e.g., expressions).

Many programming languages (e.g. Ada, Algol 60, C, Java, Pascal) make a distinction between statements and definitions/declarations. A definition or declaration specifies the data on which a program is to operate, while a statement specifies the actions to be taken with that data.

Statements which cannot contain other statements are simple; those which can contain other statements are compound.[2]

The appearance of a statement (and indeed a program) is determined by its syntax or grammar. The meaning of a statement is determined by its semantics.

Which hexadecimal number is equivalent to the decimal number 11?

A.
1A
B.
1B
C.
A
D.
B

Answers

Answer:

B

Explanation:

11 in Decimal converts to B in Hexidecimal

1. Harold Worden, then 56-years-old, stole Kodak property
that was worth millions of dollars. He had worked for
Kodak for over 30 years and did not return confidential
documentation when he left the company in 1992.
He attempted to try and sell his ill-gotten gains to Kodak's
competitors while trying to start his own consulting firm.

The following scenario is an example of?​

Answers

Answer:

Industrial espionage

Explanation:

Espionage is defined as the act of spying or the use of spies to acquire information on the activities and plans of a government of another country or those of a company in a competitive market

It is the practice of obtaining confidential or secret information and can be considered a felony depending on the case circumstances and the manner of damages caused by the act which is provable and made by the claimant

Industrial espionage is also known as economic espionage

Does a Laser Printer use its beam to attach dry powdered ink to a sheet of paper?​

Answers

Answer: A laser printer is different only in terms of ink heads. Hile Traditional Printers use physical contact to embed ink onto the paper laser jets use laser beams with inks to forms impressions into papers. They require no special paper to print. So probably not.

1.Two robots start out at 426c cm. apart and drive towards each other. The first robot drives at 5 cm per second and the second robot drives at 7 cm. per second. How long will it take until the robots meet?

In your response below, please answer each of the following questions:
a. What is the question being asked?
b. What are the important numbers?
c. Are their any variables?
d. Write an equation.
e. Solve the equation.
f. Do you think your answer is reasonable? Explain.

Answers

Answer:

a. The time it will take for the two robots meet

b. The important numbers are;

426 (cm), 5 (cm/second) and 7 (cm/second)

c. Yes, there are variables

d. The equation is 5 cm/s × t + 7 cm/s × t = 426 cm

e. The solution of the equation is, t = 35.5 seconds

f. Yes, the answer is reasonable

Explanation:

a. The question being asked is the time duration that will elapse before the two robots meet

b. The important numbers are;

The distance apart from which the two robots start out, d = 426 cm

The  speed of the first robot, v₁ = 5 cm/second

The  speed of the second robot, v₂ = 7 cm/second

c. The variables are;

The distance apart of the two robots = d

The  speed of the first robot = v₁

The  speed of the second robot = v₂

The time it takes for the two robots to meet = t

d. The equation is;

v₁ × t + v₂ × t = d

Plugging in the known values of v₁, v₂, we have;

5 cm/s × t + 7 cm/s × t = 426 cm...(1)

e. Solving the equation (1) above gives;

5 cm/s × t + 7 cm/s × t = t × (5 cm/s + 7 cm/s) = t × 12 cm/s = 426 cm

∴ t = 426 cm/(12 cm/s) = 35.5 s

t = 35.5 seconds

f. The time it would take the two robots to meet, t = 35.5 seconds

The answer is reasonable, given that the distance moved by each robot in the given time are;

The distance moved by the first robot, d₁ = 35.5 s × 5 cm/s = 177.5 cm

The distance moved by the second robot, d₂ = 35.5 s × 7 cm/s = 248.5 cm

d₁ + d₂ = 177.5 cm + 248.5 cm = 426 cm.

9.) A principle of visual message use to present results gathered from survey data.
A. Comparison
C. Presenting survey data
B. Explaining how things work
D. Simplifying a complicated concept
bias​

Answers

Answer:

. Presenting survey data

Explanation:

Given that Presenting survey data involves the display of data in a graphical representation such as charts, video infographics, tables, and many more.

Therefore, a principle of the visual message is used to present results gathered from survey data is known as "Presenting Survey Data."

The data presented can then later be analyzed and eventually explained to the readers or the audience.

what are the uses of plotters​

Answers

Answer:

Plotters are use to produce the hard copy of schematics and other similar applications They are mainly used for CAE applications.They can print on a wide variety of flat materials

Hope it helps :)❤

Answer:

 Plotters are used to print graphical output on paper. It interprets computer commands and makes line drawings on paper using multicolored automated pens. It is capable of producing graphs, drawings....

Which statement below returns 'soccer'?
sports = [2: football', 3:'soccer', 4:'volleyball', 5:'softball'}

• sports.find(soccer')
• sports[3]
• sports(3)
• sports.get(2)

Answers

Answer:

The answer is the second option.

sports = {2: 'football', 3:'soccer', 4:'volleyball', 5:'softball'};

console.log(sports[3]);

will output:

soccer

Explanation:

There were several syntax errors in the code (assuming it is javascript):

- Text strings must be enclosed in single or double quotes.

- sports is an object, not an array, so it should have { } and not [ ]

Other Questions
Eleanor Roosevelt once said, "You must do the thing you think you cannot do." Write about a time when you accomplished something you thought you could not do. Be sure to include specific details.What is the purpose of this assignment?to write about famous quotes by Eleanor Rooseveltto write about a future goal that you hope to achieveto write about overcoming an obstacle you had in the pastto write about Eleanor Roosevelts accomplishments. 2)In what ways are the governments of Turkey and Israel similar? (can choose more then one) A)Both have a separation of powers.B)Both are Representative Democracies.0Both have a Prime Minister and a President.D)Both do not offer voting rights to citizens.E)Both have laws in place to limit the King's power Please please please, it's due to an hour Answer the follow questions about the lives and works of a few legendary filmmakers. Please type your response in Spanish -Part D:Quin es el director estadounidense de la pelcula de ciencia ficcin E.T.? Alex invests 3045 into an account that pays 2.25% compound interest per year.Work out how much Alex will have in the account after 16 years.Thanks :) Pls help struggling w maths homework camile mowed lawns for 3 hours and earned $6.80 per hour.then ahe wates windows for 2 hours and earns $6.20 per hour.what were camila's average earnings per hour for all 5 hours? if [tex]cosA=\frac{2}{5}[/tex] and [tex]tanA\ \textless \ 0[/tex] then [tex]sin(2A)=?[/tex]Please helpAbsurd answers will not be tolerated Which statement best describes the table?thankss :) A teacher graphs a system of equations using the lines shown and asks four students to write down the coordinates representing the solution to the system.Based on the graph, which students ordered pair represents the solution to the system of equations?A. AngelicaB. FatimaC. NicoD. Ralph The diameter of a circle is 19 in. Find its circumference in terms of \pi. An example of a cool down is What is one+one? Im french and Im doing American math.... HELP ME PLZZ, ASAP!!In your own words explain what a Straight Angle is. can someone help me? Determine whether 3y = 7x + 8 is quadratic or not. Explain. What are the most important ideas in stanza 1 and 2 of "At first"? Need help plz. Don't answer for points or you will be reported! How do you act as student What is the median of the data set: 8,19,14,16,9 20,9