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
Anna007 [38]
3 years ago
5

1- Which of the following is the java keyword used to declare a class?

Computers and Technology
2 answers:
Elden [556K]3 years ago
8 0
1. a)
2. c)
3. d)
4. b)
5. And this is is either a/d
Hope this is all right!
Vlad1618 [11]3 years ago
3 0
1) a, you write class Foo { ... }
2) c, a constructor does not have a return type
3) d, every instance gets its own copy
4) b, a reference variable. Ofcourse, an instance or class variable may or may not be a reference variable.
5) c, the new keyword instantiates objects.
You might be interested in
File Account.java contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and a
puteri [66]

The answer & explanation for this question is given in the attachment below.

Download docx
5 0
3 years ago
Design a program that will ask the user to enter the amount of a purchase. The program
LUCKY_DIMON [66]

The program is a sequential program, and they do not require loops and conditions

<h3>The program design in Python</h3>

The complete program written in Python is as follows:

purchaseAmount = float(input("Amount: "))

stateSalesTax = 0.05 * purchaseAmount

provincialSalesTax = 0.02 * purchaseAmount

print("Amount:",purchaseAmount)

print("State sales tax:",stateSalesTax)

print("Provincial sales tax:",provincialSalesTax)

print("Total sales tax:",(stateSalesTax + provincialSalesTax))

print("Total sales:",(purchaseAmount + stateSalesTax + provincialSalesTax))

Read more about Python programs at:

brainly.com/question/26497128

#SPJ1

4 0
2 years ago
What mode is generally used when delivering a presentation to an audience?
dybincka [34]

Answer:

delivery mode

Explanation:

there it is

7 0
3 years ago
Read 2 more answers
When excel imports an access table, the data is placed in a worksheet _____?
ratelena [41]
Book is the answer!!!!!
3 0
4 years ago
Will give 5star and mark brainleist
TiliK225 [7]
9. C
10. B

Hope this helps!
7 0
3 years ago
Other questions:
  • numbers that the user inputs. You must use JoptionPane to input the three numbers. A first method must be called and used to dev
    13·1 answer
  • Which type of operation writes the file system structure to the disk?
    5·1 answer
  • Which of the following is not a reason that the subject line should never be left blank?
    13·2 answers
  • The answer for 1 and 2
    5·1 answer
  • When driving a truck is fuel crucial
    9·1 answer
  • In Microsoft Word you can access the _______ command from the "Mini toolbar".
    7·1 answer
  • Companies expose themselves to harsh sanctions by federal agencies when they violate the privacy policies that their customers r
    8·1 answer
  • HTML question please help
    5·1 answer
  • What two things should you do before starting the design process
    8·1 answer
  • SOMEONE HELP ME!!!!!
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!