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

¿Cómo se dice "baseball cap" en español? A. La camisa B. La gorra C. Los pantalones D. Las botas
help pleaseeeeeeeeeee
Where bloody Tybalt, yet but green in earth, Lies festering in his shroud; where, as they say, At some hours in the night spirits resort;" What does Juliet mean
People with schizophrenia always behave in predictable ways true or false
Which of the following sentences uses an interjection correctly? 1. Help I locked myself in the closet and can't get out. 2. Help i locked myself in the closet
Which of the following answers is incorrect regarding the Naive Bayes algorithm? Select the best answer (as an incorrect claim) Select one: A. The algorithm use
Question 11 of 30 Under ideal conditions, how do allele frequencies change over time? A. The frequency of the recessive allele increases in each generation. B.
Determine the domain and range for the relation
how does the structure of water affect its properties
help me pls it is geometry