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
Maksim231197 [3]
3 years ago
9

* Declare a variablecalled "car" of type "Car", and initialise its value to a new instance of the "Car"class.

Computers and Technology
1 answer:
kicyunya [14]3 years ago
3 0

Answer:

Car car = new Car();

Explanation:

Here we declare a variable called car which is a reference to an object of type Car.

Next we create a new object of type Car by using the new keyword. Here we are invoking no argument constructor of class Car. In case the car class has other constructors which take additional arguments, we could have initialized our object using the corresponding version of new.

The reference variable car is initialized then to the newly created object of type Car as described in the previous step. Now we can use the car reference variable to invoke relevant methods defined in the Car class.

You might be interested in
To navigate to a new web page for which you know the url, type that url in the browser’s ____ bar and press enter.
Slav-nsk [51]
It would be to type the url in the browser's address bar
3 0
3 years ago
Which task does Word NOT give you the ability to accomplish?
ale4655 [162]

Is this multiple choice?

4 0
2 years ago
Beyonce, Taylor Swift, and Miley Cyrus make commericals that encourage people to drink milk. These ads contain _____ . a) trade
Helen [10]
C celebrity endorsements
5 0
3 years ago
Read 2 more answers
How many are required for an accurate signal?
Charra [1.4K]

Answer:

3

Explanation:

due to there different signal compactment

5 0
3 years ago
Despite the passage of several laws defining and addressing computer crime, accessing a computer system without authorization is
Molodets [167]

Answer:

False

Explanation:

7 0
3 years ago
Other questions:
  • What are the elements of an autobiographical narrative similar to those of a short story?
    7·1 answer
  • A device capable of copying a graphic, document, or other object is called a
    7·2 answers
  • Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county s
    8·1 answer
  • A network with 6 bits remaining for the host portion will have how many usable hosts?​
    9·1 answer
  • How to automatically ccleaner smartphone?
    10·1 answer
  • In a three-tier architecture, the component that runs the program code and enforces the business processes is the:_______.
    11·1 answer
  • Please help!! thank you so much!! <3
    14·2 answers
  • A sandbox is known as a holding area for website or .
    15·2 answers
  • I'm trying to move the figure a little away from, the column line and every time I move it and click ok it goes back to being be
    11·1 answer
  • How to resize an image in photoshop without losing quality.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!