Shekra3mgcjc Shekra3mgcjc
  • 20-03-2017
  • Computers and Technology
contestada

Objects of the calculator class require no additional information when created. define an object named calc, of type calculator.

Respuesta :

xjkbel
xjkbel xjkbel
  • 21-03-2017

In Java you can define a new object with:

Calculator calc;


or you can define and instantiate with:

Caculator calc = new Calculator();

Answer Link
jamuuj jamuuj
  • 07-09-2018

Answer

calculator calc;

Explanation

An object is an instance of a class. And a class is what defines or describes the behavior or the state of the object of its type. When a class is defined no memory is allocated until when an object is created memory is allocated.

Answer Link

Otras preguntas

what is the shortest time for which 2.5kw kettle containing 1.5kg of boiling water can be left without boiling dry​
What is 2 divided by 564?
Describe the purpose of primary elections and caucuses in the election process. How does each event work? What are two major differences between them? (4 points
Plot the x- and y-intercepts to graph the equation. y=−12x−3
(10,48) (6,28) (22, 108) (14,68) Function? Yes or No If yes: Linear or Non-Linear If Linear: Function Rule:
What are some unique date ideas for teenagers
A ten mile area of tree is removed from the tropical rainforest how will this affect the amount of water and the amount of oxygen in the area
why did the stamp act cause such a furor in the colonies?​
Which expressions are equivalent to 12a+24b+36? Select all that apply. −4(−3a−6b−9) 12(24a+48b+72) 12(6a+12b+18) −4(3a+6b+9) 12(a+24b+36) 12(a+2b+3)
please help me out with this please