In Java you can define a new object with:
Calculator calc;
or you can define and instantiate with:
Caculator calc = new Calculator();
Answer
calculator calc;
Step-by-step 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.
6.6m questions
8.7m answers