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
liq [111]
3 years ago
15

What does the following code print?

Computers and Technology
1 answer:
Crank3 years ago
3 0

Answer:

It throws an error.

the public class needs a name.

like this:

public class G{ public static void main(String[] args) {

   int x=5 , y = 10;

   if (x>5 && y>=2) System.out.println("Class 1");

   else if (x<14 || y>5) System.out.println(" Class 2");

   else System.out.println(" Class 3"); }// end of main

   }

if you give the class a name and format it, you get:

Class 2

Explanation:

You might be interested in
Select the tasks that would be performed by an information systems graduate.
Tomtit [17]

I think data mining and software design.

6 0
3 years ago
PLEASE ANSWER THIS ASAP‼️
Reil [10]

c) the grasses

plants are producers

4 0
3 years ago
Read 2 more answers
Ahem, so basically I added a extension on my SCHOOL chromebook, and I want to get rid of it because it keeps opening extra tabs
Vladimir [108]

Answer:

Look below.

Explanation:

Oof. That must suck. I think that all you have to do to remove the extension is to right click on it and press delete. Thn a thing should slide down from the top of the screen and say something like "are you sure" and then press yes. That should work...

4 0
4 years ago
Hi, please help me, please help me.​
goblinko [34]
My day has been good
hope this helps
3 0
3 years ago
I am the biggest and most important part of data storage hardware. I am about the size of a small book and store critical things
inn [45]

Answer:

HDD (Hard drive disk) or SSD (Solid state drive)

Explanation:

8 0
2 years ago
Other questions:
  • You learned about microcomputer a personal computer designed for use by an individual. Perform online research find out the diff
    12·1 answer
  • Write, compile, and execute a C program that calculates and returns the fourth root of the number 81.0, which is 3. (hint: The f
    6·1 answer
  • What color does Sam obtain when he mixes white with a color? Sam is painting a landscape and needs to paint the sky light blue.
    9·2 answers
  • A merge is _____.
    5·2 answers
  • Write a dialogue between two friends who are debating on popularity or property​
    6·1 answer
  • ___________ is an approach to boundary spanning that results from using sophisticated software to search through large amounts o
    8·1 answer
  • to access your course materials such as reading, textbooks, and other lesson content, it would be best to go to the?
    5·1 answer
  • Rose opens her software application and gets a message stating that she has only 16 more uses of the product available. Given th
    15·1 answer
  • When you evaluate the use of digital media, how has it affected the newspaper business? The rise of digital media has caused new
    15·1 answer
  • Which of the following is not an example of a cyber crime?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!