How do I code strings in java

Answers

Answer 1

Answer: Below

Explanation:

Prescribe variable as string, and anything assigned to it will be a string.
Example:
String java_string;
java_string = "Hello world";


Related Questions

Sorry, I cant tell you, you need to know

Answers

Answer:

answer a

Explanation:

sorry it’s for the points

Submit your 300-word article review on a recent cyber bullying occurrence that lists five key points and offers your suggestions for two
things the article should have covered?

Answers

Bullying that takes place through the use of digital technologies is known as cyberbullying. Due to increasing technology, cyberbullying is increasing day by day.

What is cyberbullying?

Cyberbullying happens on social media, messaging platforms, gaming platforms, and mobile phones, among other places.

It is a pattern of behavior intended to frighten, anger, or shame those who are being targeted.

Thus, bullying that takes place through the use of digital technologies is known as cyberbullying. Due to increasing technology, cyberbullying is increasing day by day.

Learn more about cyberbullying

https://brainly.com/question/8142675

#SPJ1

Coral 3.22 LAB: Loops: Countdown until matching digits

Answers

Answer:

//in c++

#include <iostream>

using namespace std;

int main() {

   int i;

   cin >> i;

   do { cout <<i<<" "; } while (i--);

   return 0;

}

In a statement: Scanner keyboard = new Scanner (System.in);

it reads user input by means of a Scanner, the user types the line of input below, exactly as shown, including that same spacing.

What is the statement keyboard.nextDouble( ); returned ?

Answer "2": 1+2 is 3 and "5.0" squared is 25.0 !

Answers

Answer:

A misMatchException is returned.

Explanation: Keyboard.nextDouble(); is expecting a double as an input and the user entered a string first so an error is returned.

What variation pairs a new employee with an employee who has been with the company for 20 years?

Answers

The variation pairs a new employee with an old employee usually focus on employee accomplishments, and criteria that employee meets or not.

What are the Appraisal Methods used to evaluate an employee's performance?

The behavioral method is known to be one of the ways to check an employee's actions within a given job.

Conclusively, There is also the use of Comparative methods that tends to compare one employee with different employees. The use of Results methods are the ones that looks into  employee accomplishments.

Learn more about variation pairs from

https://brainly.com/question/19262673

Answer:

expert-novice

Explanation:

Which of these is NOT a type of spoofing? sending an e-mail that says it is from a certain bank but it is not

sending unsolicited advertisements to millions of people at once

creating a fake website for a well-known business

changing the number sent to caller ID with a phone call​

Answers

The option that is not  a type of spoofing is creating a fake website for a well-known business.

What is email spoofing?

Email spoofing is known to be a method  that is often used in spam and other forms of phishing attacks. This is often done to trick computer users to see that a message originate from a person or firm that they know.

Conclusively, The option that is not  a type of spoofing is creating a fake website for a well-known business as it is not what spoofing  is all about.

Learn more about spoofing from

https://brainly.com/question/23021587

#SJ1

Answer:

Sending unsolicited advertisements to millions of people at once.

Explanation:

I took the test.

Spell all words correctly.

Ben knows that procedural programming structures a computer program as a set of computational steps consisting of computer code that performs a specific task. What should Ben call such sets of code?

Procedural programming structures a computer program as a set of computational steps consisting of computer code that performs a specific task.Such sets of code are called procedures or ___________.

Answers

Answer:

functions

Explanation:

i just took the test

Harmful or malicious pages should always get a page quality (PQ) rating of Lowest in rating

Answers

Harmful or malicious pages should always get a page quality (PQ) rating of Lowest in rating is a true statement.

What is a malicious webpage?

A malicious website is known to be any kind of website that is set up to bring about harm such as a phishing website.

Note that low rating of Harmful or malicious pages  will make people realize that the site is not to be trusted and people will desist from using it.

Learn more about malicious pages fromhttps://brainly.com/question/23294592

what is a buffer in c++

Answers

Answer:

A buffer is temporary storage of data that is on its way to other media or storage of data that can be modified non-sequentially before it is read sequentially. It attempts to reduce the difference between input speed and output speedExplanation:

what is the best method to avoid getting spyware on a machine

Answers

Answer: The best method to avoid getting spyware on a user machine is to download software only from trusted websites. And depending on the machine it might say that "This download you are about to install might have spyware or malware and it might infect your laptop" "Do you wish to continue?"

What is the output of this program? Assume the user enters 3, 6, and 11.

numA = 0
for count in range(3):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer: 20

That would be the sum of 3, 6 and 11.

Explanation:

numA = 0

This step creates a variable called num A with the value of zero.

for count in range(3):

This step repeats our following 3 lines of code 3 times.

   answer = input ("Enter a number: ")

   This line of code creates and sets the variable "answer" to the

   value of what the user enters.

   fltAnswer = float(answer)

   This step converts our prevous user input which was a string into a

   float. This is were the code screams if you were to enter a character

   instead of a number.

   numA = numA + fltAnswer

   This step adds the user input to the variable numA.

   Or more correct:

   This step sets the variable numA to its previous value plus the user

   input.

print (numA)

This step prints out numA. This line is also outside of the loop and

will only activate once when the loop ends.

Name the malware which looks for security flaws in applications and systems.

Answers

Answer: Worm

Explanation: Worms are one of the most common forms of malware, as they spread easily by finding and expoliting secuirty flaws in operating systems.

Anyone want to try ?
Check Your Work: looping_lists.py
Make sure your looping_lists.py program prints the following items, in this order:

Answers

print("Using a for loop to print the colors list elements:")

print("Using a for loop with range(10) to print iterator values and a string:")

for i in range(10):

print(i, “Hello”)

counter = 0

print("Using a while loop to print iterator values and a string:")

while counter < 5:

print(counter, "Loop while the counter is less than 5")

counter = counter + 1

print("The for loop removes and prints list elements in stack order:")

for i in range(len(colors)):

print(colors.pop())

print("The colors list after all elements are removed:\n", colors)

new_colors = ["red", "orange", "yellow", "green", "blue", "purple"]

print("The loop prints and removes elements in the new_colors list in queue order:")

for i in range(len(new_colors)):

print(new_colors.pop(0))

print("The new_colors list after all elements are removed:\n", new_colors)

more_colors = ["violet", "pink", "brown", "teal", "magenta"]

more_colors_deque = deque(more_colors)

print("Elements in the more_colors list:\n", more_colors)

print("Elements in the deque object:\n", more_colors_deque)

print("Using a for loop to print the deque elements as a queue:")

for i in range(len(more_colors_deque)):

print(more_colors_deque.popleft())

print("Printing the deque object after all elements are removed:\n",

more_colors_deque)

Complete the sentence.
A(n) ___ interface is one that supports as many people as possible by considering disabilities, screen sizes, languages, and many other factors.

1. web-safe
2. accessible
3. inclusive ​

Answers

The answer is number 2 accessible

You are the Emergency Management Director of a small island nation. Your nation has come under Cyber-attack and the attackers have made non-functional the Communications system (Phone, Internet, and Cellular), Water supply, Electrical, Natural Gas, and Waste Treatment. Your staff assures you that each system can be recovered but will take an undetermined time period. You must decide what system should be made operational first with the limited staff available to you.

Answers

Answer:

okay actually what are you trying to get an answer for

Explanation:

Convert 108/10 to binary

Answers

Explanation:

The answer would be 1101100

Which sentence uses parallel structure correctly?
A. Texting while driving causes automobile accidents, people are
distracted, and it is bad.
B. The death penalty is cruel, really expensive, and criminals still
commit crimes.
OC. Animal testing has helped discover medicines, saves lives, and will
make people healthy.
OD. Processed foods are bad for you, are high in fat, and are the cause
of serious health issues.

Answers

Answer: Correct option is Option D.

Explanation:

Processed foods are bad for you, are high in fat, and are the cause of serious health issues.

Parallel structures are those structures where words are used in same pattern in a sentence to show that two given ideas/phrases are of similar significance.

This sentence uses parallel structure correctly.

Parallel structure in the sentence are -

are bad for you

are high in fat

are the cause of serious health issues

The sentence, which uses parallel structure correctly is "Animal testing has helped discover medicines, saves lives, and will make people healthy." The correct option is C.

What is parallel structure?

Parallel structure, also known as parallelism, is a grammatical structure in which words, phrases, or clauses in a sentence have a similar form and function. This means that elements within a sentence that are similar in meaning should be expressed in a similar way grammatically. The purpose of parallel structure is to create a balanced and cohesive sentence structure that is easy to read and understand.

For example, in the sentence "She likes hiking, swimming, and running," the verbs "hiking," "swimming," and "running" are all in the same gerund form, making them parallel in structure. Similarly, in the sentence "The dog chased the cat, barked at the mailman, and dug up the garden," the verbs "chased," "barked," and "dug" are all in the same past tense form, making them parallel in structure.

Parallel structure is important because it creates a sense of symmetry and balance in a sentence, making it easier to understand and remember. It also helps to emphasize the similarity or difference between two or more ideas or items, making them more noticeable to the reader or listener.

Therefore, The sentence that uses parallel structure correctly is option C. "Animal testing has helped discover medicines, saves lives, and will make people healthy." In this sentence, all the verbs are in the same form, and the sentence follows a consistent structure with the use of parallelism.

To learn about Jalen folded click:

https://brainly.com/question/8055410

#SPJ7

What are the correct answers to the following questions?

What are physical waves that travel through matter?
Analog Sound / Digital Sound / Pixels

What are electrical impulses represented as 0’s and 1’s?
Digital Sound / Analog Sound / Slot

What are the tiny dots that make up the images seen on a monitor called?
Pixels / Buses / Slots

What is a network that is confined to a small area?
Local Area Network / Bus / Slot

What is a subsystem that either transfers data between computer components or between computers? Bus / Digital Sound / Analog Sound

What are openings in a computer where printed circuit boards can be inserted to expand the computer’s capabilities called? Slots / Buses / Pixels

Answers

Answer:1.) Analog

2.) Digital

3.) Pixels

4.) Local Area Network

5.) Bus

6.) Slots

Explanation:

The answers to the given questions are:

Analog Sound

Digital Sound

Pixels

Local Area Network (LAN)

Bus

Slots

Physical waves that travel through matter are referred to as analog sound waves.

These waves are continuous and represent the variations in air pressure caused by sound.

Analog sound is used in older forms of audio technology like vinyl records and cassette tapes.

Hence, Analog Sound are physical waves that travel through matter.

Electrical impulses represented as 0's and 1's are characteristic of digital sound.

In digital sound, sound signals are converted into binary code (0's and 1's) which can then be processed and transmitted by computers and other digital devices.

Hence, Digital Sound  are electrical impulses represented as 0’s and 1’s.

The images seen on a monitor or screen are made up of tiny dots called pixels.

Each pixel represents a single point of color or light, and when millions of pixels are combined, they create the images and videos that we see on digital displays.

Hence, the tiny dots that make up the images seen on a monitor called Pixels.

A Local Area Network (LAN) is a network that is confined to a small geographic area, such as within a building, a campus, or a specific group of interconnected buildings.

LANs are commonly used to connect computers and devices within a limited area.

So, Local Area Network is a network that is confined to a small area.

A bus is a subsystem in a computer that facilitates the transfer of data between different computer components (such as the CPU, memory, and peripherals) or between different computers in a network.

Buses can be thought of as communication pathways that enable the flow of information.

Hence, Bus is a subsystem that either transfers data between computer components or between computers.

Slots are openings in a computer's chassis or motherboard where printed circuit boards (also known as expansion cards) can be inserted. These expansion cards can add various capabilities to the computer, such as graphics processing, sound, network connectivity, and more.

Hence,  in a computer where printed circuit boards can be inserted to expand the computer’s capabilities called slots.

To learn more on Computer click here:

https://brainly.com/question/34803897

#SPJ3

I need to write my initials. My name is Michael. Help please! Write my name in binary code!

Answers

Answer:

01001101 01101001 01100011 01101000 01100001 01100101 01101100

Explanation:

found it online ? its a science website that explains how to do it and what it means.

Answer:

01001101 01101001 01100011 01101000 01100001 01100101 01101100

Explanation:

why do you want to work from our company?​

Answers

Answer:

Hwhat

Explanation:

Answer:

I am dedicated, focused and loyal. I believe I am a right fit for this company because I will put in the hours and go the extra mile when necessary. In addition to that, I am also extremely punctual.

Paragraph on uses of computer 100 words plss​

Answers

REFER TO ATTACHMENT・ᴥ・

Need help finding the smallest number and ending the program with -1. This is what I got H = int(input("Enter a number or enter -1 to end)"))
smallest = H

counter=0
while(True):
number = int(input("Enter a number: "))
if(number == -1):
break
if(number < H):
smallest = number
print(number, "is the smallest")

Let me know What I'm doing wrong please

Answers

Answer: your not doing anything wrong it is all good but you need to add a little more to it

Explanation:

Which CPT icon should be considered when entering CPT codes into a spreadsheet for numerical sorting

Answers

Answer:

##

Hashtag##

Explanation:

Hashtag (#) symbols identifies codes out of numerical sequence. These codes are listed in Appendix N. Star symbols identify codes that, when appended by modifier 95, can be used to report telemedicine services.

Which image file format consumes the most file
space?
0
GIF
JPEG
PNG

Answers

Answer: jpeg becauuse itss correct

Can someone answer the question s please

Answers

Answer:

1. it the point of art and they do it for fun

2. Yes I done that a couple of time and the reason why is because it fun and it u that is acknowledging your own work that u done for later memories even tho you know it wont last long.

3. I would love to create a sand castle I think or something about kpop

Start every formula with a(n) _____.

asterisk

addition sign

minus sign

equals sign

Answers

Start every formula with a(n) equals sign. Check more about formula below.

What is Excel Formulas about?

All formulas in Excel is known to often start with an equals sign (=).

This is base on the fact that the cell has , or is the same with the formula and the numbers or values that it is said to be calculating.

Conclusively, therefore, all one has to start every formula with a(n) equals sign.

Learn more about formula from

https://brainly.com/question/1216161

#SPJ1

Java Unit 3: Lesson 3 - Coding Activity 3

Answers

Answer:

import java.util.Scanner;

public class MultiplicationTablePractice {

   public static void main(String[] args) {

       var scanner = new Scanner(System.in);

       var quit = false;

       while (!quit) {

           var randomNumber1 = (int) (Math.random() * 12) + 1;

           var randomNumber2 = (int) (Math.random() * 12) + 1;

           System.out.println(randomNumber1 + " * " + randomNumber2 + " = ?");

           var answer = scanner.nextInt();

           if (answer == randomNumber1 * randomNumber2) {

               System.out.println("Correct!");

           } else {

               System.out.println("Wrong!");

           }

           System.out.println("Quit? (y/n)");

           var quitInput = scanner.next();

           if (quitInput.equals("y") ||

               quitInput.equals("Y")) {

               quit = true;

           }

       }

       scanner.close();

   }

}

Explanation:

First, we create a new scanner object, based on the System.in stream. Then we create a varaible called quit which we set to false which we then use as the condition for the while loop.

Inside the scope of the while loop, we create two random numbers based off of Math.random(). The formula we use is (int) (Math.random() * 12) + 1; With these new variables, we print:

randomNumber1 + " * " + randomNumber2 + " = ? "

After this is printed, we scan the user input as an int.  We check the input answer against the actual answer to check if it's correct or not. If it is correct, we print "Correct!" otherwise we print "Wrong!".

Once all of this is handled, we ask the user if they want to quit or not. If the input is "y" or "Y" the while loop terminates, and the scanner closes. Otherwise, the while loop will continue, and restart the process.

The content of a Wiki is organized by
chronological order
topics
news postings
comments

Answers

Topics, each wiki page is separated into different topics about the subject

. Find the sum of the squares of the integers from 1 to MySquare, where
MySquare is input by the user. Be sure to check that the user enters a positive
integer.

Answers

Answer:

in c

Explanation:

#include <stdio.h>

int sumSquares(int n) {

   if(n == 0) return 0; else if (n == 1) return 1; else return (n*n) + sumSquares(n - 1);

   }

   int main() {

       int mySquare;

       puts("Enter mySquare : ");

       scanf("%d", &mySquare);

       if(mySquare < 0) mySquare *= -1;// makes mySquare  positive if it was negative

printf("Sum of squares: %d", sumSquares(mySquare));

   }

Which of the following data types makes the most sense to use as a constant?

Answers

Answer:

static data

Explanation:

static data doesn't change

Other Questions
What instrument listed is not a chordophoneA. HarpB. lyre C. Electric keyboard D. Acoustic Guitar Mr. red's first year salary is $40,000 and it increases by $1000 each year. what is the explicit rule for this sequence in simplified form? Question is in photo below. Convert the exponential to a logarithmic form: 10^4 = 10,000Question 1 options:A) log 10 = 4B) log 4 = 10C) log 10,000 = 4D) log 4 = 10,000 When y is 4, p is 0. 5, and m is 2, x is 2. If x varies directly with the product of p and m and inversely with y, which equation models the situation?x p m y = 8StartFraction x y Over p m EndFraction = 8StartFraction x p m Over y EndFraction = 0. 5StartFraction x Over p m y EndFraction = 0. 5 In a food chain, consumers gather energy by _______. a. consuming organisms at a lower trophic level b. consuming organisms at a higher trophic level c. decomposing dead organic matter d. absorbing sunlight directly The inequality 6 -fx < x - 9 is equivalent to need help with question 16 What problems do human population growth cause for the environment? 3. Select all the sectors which have an area of 3pi square units.a)a sector with a radius of 6 units and a central angle of 30 degreesb)a sector with a radius of 6 units and a central angle of 45 degreesc)a sector with a radius of 3 units and a central angle of 60 degreesd)a sector with a radius of 3 units and a central angle of 120 degreese)a sector with a radius of 3 units and a central angle of 180 degrees PLEASE HELP ASAP!! WILL GIVE BRAINLIEST what is the exact value of tanC What is the completely factored form of f(x) = 6x3 13x2 4x 15? (x 1)(6x2 19x 15) (x 1)2(2x 3) (x 1)(3x 2)(5x 3) (x 1)(2x 3)(3x 5) the fur coat(english short story) What type of evidence does orwell use in the passage to support the claim that "political speech and writing are largely the defense of the indefensible"? statistics examples facts quotations What is another way to use the help feature in access 2016? go to the backstage view using the file tab and select help. click the help icon that appears at the bottom right of the interface. use the light bulb at the top of the interface to gain access to shortcuts. use the first command group under the home tab to open a dialog box. If the cost of program A is $1,000,000 and the effect is 50,000 lives saved but the cost of program B is $10,000,000 but 250,000 lives saved, then which program is more cost effective? President Nixon put this idea into practice by -A expanding relations with Communist nationsB abandoning his policy of dtenteC declaring an end to the Korean WarD ending collective security agreements If f(x) = 2x 9 and g(x) = x2 + 3, what is (f + g)(4)? (1 point)Group of answer choices a. 18b. 20c. 19d. 20 What is hempels claim in this excerpt? what evidence does hempel provide? what type of evidence does hempel use? What is a subordinate clause?(Giving out free brainliest)