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
joja [24]
3 years ago
6

What does the following code print?

Computers and Technology
1 answer:
Over [174]3 years ago
8 0

Answer:

Error - At least one public class is required in main file

if you change it too:

public class main{

   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

       }

       // end of class.

than it will say Class 2.

Explanation:

You might be interested in
What is the difference between a Computer Science and a Compter Engineer major?
xeze [42]

Answer:

Computer Science is the study of the existing things and programming language to acquire knowledge in that field

Computer engineering is applying the knowledge to invent new things

Explanation:

Computer Science is the study of the existing things and programming language to acquire knowledge in that field

Computer engineering is applying the knowledge to invent new things

If we want to accomplish any task , first you should know how to achieve that task and you should have some knowledge to do that task. Computer Science basically deals with acquiring knowledge in the are of computers.

Computer engineering is the engineering things based on the facts we have alreday

5 0
4 years ago
Define the following term. data, database, DBMS, database system, data- base catalog, program-data independence, user wen', DBA,
wolverine [178]

Answer:

data - Any form of value in a column of a table in a relational database.

DBMS - Short for Database management system, which is a software that can be used to create, manipulate and view databases, e.g. MS SQL Server.

database system - Same as DBMS.

database catalog - Place where the metadata of a Database, its tables, users etc. exists e.g. date created, size, number of columns etc. Also known as Data Dictionary.

program-data independence - Program-data independence refers to the capability of leaving data intact and accessible regardless of modifications to the database that contains the data.

DBA - Short for Database Administrator, person responsible for maintaining the database. Its main responsibility is to keep the data clean and safe i.e. data doesn't contain wrong or invalid data, and is safe from viruses and is backed up.

end user - Anyone who is not directly interacting with a database, but through some software like website and mobile application.

persisten object - An object of a class in a program, that interacts with the underlying database and is responsible for manipulating the database connected to.

transaction-processing system - A transaction process system is part of a software, responsible for making sure critical business transactions, like crediting or debiting money, either goes through cleanly or doesn't at all.

CRUD are the four main types of operations one can do in a database environment. It stands for creating, reading, deleting and updating.

Explanation:

4 0
3 years ago
Which of the following pathways relates to the Architecture and construction career cluster
Murrr4er [49]
*Design/Pre-Construction
*Construction
*Maintenance/Opreations
5 0
4 years ago
Select the correct answers. What are examples of real-time applications?
maksim [4K]

My answer to the question are:online money transfer,news update,blog post.

6 0
4 years ago
The Lisp function LENGTH counts the number of elements in the top level of a list. Write a function ALL-LENGTH of one argument t
Novosadov [1.4K]

Answer:

bc

Explanation:

5 0
3 years ago
Other questions:
  • When approved for a loan, an individual essentially applied for aid in the area of...
    15·1 answer
  • _ are typically comprised of a mix of _ and _
    11·2 answers
  • Sizing handles are used in Microsoft® Word® to _____.
    13·1 answer
  • How are publishing used
    10·1 answer
  • Intro to Computers quiz answers me need for test please help me hurry
    5·1 answer
  • A tree can grow on rock as long as its roots can reach soil through cracks in the rock.
    6·1 answer
  • Write only in C, not C++.
    14·1 answer
  • Write down a scratch program which:
    5·1 answer
  • True or False: Cookies placed on a visitor's browser can include enough information to instruct an ad network which types of pro
    11·1 answer
  • your manager has asked you to implement a network infrastructure that will accommodate failed connections. which of the followin
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!