This topic contains a solution. Click here to go to the answer

Author Question: Which of the following statements are true? (Read 33 times)

LaDunn

  • Hero Member
  • *****
  • Posts: 526

Question 1

The default value for data field of a boolean type, numeric type, object type is ________, respectively.
◦ true, 1, Null
◦ false, 0, null
◦ false, 1, null
◦ true, 1, null
◦ true, 0, null

Question 2

Which of the following statements are true?
◦ Local variables do not have default values.
◦ You may assign an int value to a reference variable.
◦ Data fields have default values.
◦ A variable of a primitive type holds a value of the primitive type.
◦ A variable of a reference type holds a reference to where an object is stored in the memory.


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by LaDunn on May 6, 2020

canderson530

  • Sr. Member
  • ****
  • Posts: 317
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




LaDunn

  • Member
  • Posts: 526
Reply 2 on: May 6, 2020
Excellent


kthug

  • Member
  • Posts: 332
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

After a vasectomy, it takes about 12 ejaculations to clear out sperm that were already beyond the blocked area.

Did you know?

The use of salicylates dates back 2,500 years to Hippocrates’s recommendation of willow bark (from which a salicylate is derived) as an aid to the pains of childbirth. However, overdosage of salicylates can harm body fluids, electrolytes, the CNS, the GI tract, the ears, the lungs, the blood, the liver, and the kidneys and cause coma or death.

Did you know?

Asthma cases in Americans are about 75% higher today than they were in 1980.

Did you know?

Approximately 70% of expectant mothers report experiencing some symptoms of morning sickness during the first trimester of pregnancy.

Did you know?

Autoimmune diseases occur when the immune system destroys its own healthy tissues. When this occurs, white blood cells cannot distinguish between pathogens and normal cells.

For a complete list of videos, visit our video library