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
You want to install an rodc in your windows server 2003 forest, which currently has all windows server 2003 domain controllers.
devlian [24]
Make sure the functional level of the forest functional level is Windows Server 2003 or higher. 
Install at least one Windows 2008 Server as a Writable Domain Controller
Run adprep /rodcprep<span> </span>
8 0
3 years ago
The Synonyms submenu offers a list of synonyms for a word. Is it always a good idea to use whatever synonyms are presented on th
Ann [662]

Answer:

No

Explanation:

Synonyms are sometimes NEARLY the same. Not exactly the same. Therefore the meanings can change a bit. For example a synonym for "bad" is "careless."

"I think corn is bad."

and

"I think corn is careless." - this sentence wouldn't make sense.

That's why, no, you shouldn't ALWAYS use the synonym.

7 0
3 years ago
In 2008, researchers at Princeton University demonstrated techniques to retrieve RAM contents after the computer had been powere
lora16 [44]

It’s called a “Cold Boot” attack
6 0
3 years ago
Annie wants to create a polka-dot pattern. She wants the dots to be distributed evenly in her pattern. She has turned on the gri
Alekssandra [29.7K]

Answer:

Annie should ensure that her dots are grouped in the Layers Palate.

Explanation:

For Annie to create a polka-dot pattern, that has dots distributed evenly in her pattern. She should turn on the grid feature in Illustrator.

Annie should ensure that her dots are grouped in the Layers Palate in order not to have a hard time manually arranging the dots.

4 0
4 years ago
Jose would like to know about his uncle's death. He feels his dad is avoiding the subject for some reason. Identify what Jose co
sweet [91]
The best way is to understand. He lost his brother and thats a lot to take in. Just give him comfort and don't be pushy about it. He is will talk when he is ready.

Hope this helps! Have a Great Day!

6 0
3 years ago
Other questions:
  • All queries have a locale, true or false?
    15·1 answer
  • In C++ Please :
    6·1 answer
  • A page-ranking algorithm ranks web pages according to
    15·2 answers
  • Devices that allow for the retention of data when your computer has been shutdown
    10·1 answer
  • For your biology class, you have taken a number of measurements for a plant growth experiment. You wish to create a chart that s
    15·1 answer
  • Explain the relevancy of computers in today's global society​
    11·1 answer
  • Activity 8. Direction: Read the article and make an outline. Be guided by the rubric for outlining. Write your answer on a separ
    15·1 answer
  • What are three advantages of using enterprise software in an organization?
    10·1 answer
  • Peter has recently bought a media player and a digital camera. He wants to buy a memory card for these devices. Which memory dev
    11·1 answer
  • state how to transfee information from website to el processing document in computers and technology.​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!