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
Marat540 [252]
4 years ago
8

Could someone confirm my answers from this practice booklet test so I can feel confident about the upcoming AP Java exam? I am n

ot the best with java terms especially when the booklet doesn't recite any types of definitions or properties.
A constructor (with no arguments) and a body that is empty or provides values for the class instance variables by the programmer is an example of

A Default Constructor (my choice)
An Inherited Constructor
Instantiating a Constructor
Overloading Constructors
Overriding Constructors


A public class method may be invoked after which of the following occurs?

The class is defined. (my choice)
The main method is defined.
All instance variables are assigned.
An instance of the class is created.
The instance methods are invoked.
Computers and Technology
1 answer:
Anna [14]4 years ago
5 0
First one is correct the second one is incorrect. a method that is public in a class may be invoked when an instance of the class is created

Myclass myclass = new Myclass() <--- instance of the class created

myclass.mymethodinvoked()  <-----invoking public method


You might be interested in
If you are involved in a collision that results in property damage, injury, or death, you must call
mina [271]

 you would have to call all of them, so d.

7 0
3 years ago
You are designing an ecommerce web application that will scale to hundreds of thousands of concurrent users. Which database tech
Elis [28]

Answer: Amazon DynamoDB

Explanation:

The database technology that is best suited to hold the session state in this example is the Amazon DynamoDB.

Amazon DynamoDB is a document database which helps in delivering high quality and fast cperformance at any scale. It can be used to scale to hundreds of thousands of concurrent users as it's multi-active, and has a durable database that has built-in security.

6 0
3 years ago
3) An algorithm has a run time of O(nk ) for some integer k. On an input of size 500, the algorithm takes 16 seconds to run. On
lukranit [14]

Answer:

The value of k is 4

Explanation:

Solution

Given that:

k = integer

Input size = 500

The algorithm takes a run of = 16 seconds

Input size = 750

The algorithm takes a run of = 81 seconds

Now,

We have to determine the value of k

The equation is shown below:

(500)^k /16 = (750) ^k /81

Thus

(750/500)^ k = 81/16

= (3/2)^k

=(3/2)^ 4

k is = 4

6 0
3 years ago
Unused neural connections in the brain are reduced through a process of
OLEGan [10]

Answer:

Pruning or remodeling

Explanation:

The brain is the major control system of animals. It acts just like the processor in a computer system. Brain development starts before childbirth and progresses to adulthood.

During the first few year of life, the neural and synapse connection multiply by millions, when the brain is mature enough, the brain begins to cut off connections of synapses, neurons and axons that are not used through the process called pruning or remodeling, which is very vital for brain development.

6 0
3 years ago
Is USA TestPrep a test-taking site that won't let you access other windows without kicking you off?
olga_2 [115]

Answer:

usatestprep literally just does what the name says; it prepares you for tests in america. it doesn't kick you off if you access other windows

Explanation:

3 0
4 years ago
Other questions:
  • Which are examples of intrapersonal goals? Check all that apply. Lea plans to finish her next project before the due date. Erick
    12·2 answers
  • How would you define the rule of thirds
    5·1 answer
  • A network engineer is configuring a network to be able to relay IPv6 packets. The network only supports IPv4 and does not have d
    11·1 answer
  • What is a statement that adds 1 to the int j when the int counter has a value less than the int n?
    12·1 answer
  • Which of the following components helps to limit the front-to-back movement of the crankshaft? 
    9·2 answers
  • 3. An open source software operating system<br> TYPE THE ANSWER
    11·1 answer
  • Bitmap images are ________ into different software applications.
    9·1 answer
  • Write a recursive function is_pow2(n) that returns True if the positive integer n is an integer power of 2, and False otherwise.
    9·1 answer
  • In the program below, numA is a _____.
    8·2 answers
  • Refer to Table 8-4. Consider the data above (in billions of dollars) for an economy: Gross domestic product (in billions of doll
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!