pitbulls2030 pitbulls2030
  • 19-07-2019
  • Computers and Technology
contestada

In ________ for final fields and methods the value is assignedlater but in ______ you assign the value during declaration.
Java , C++
C++ , C#
Java , C#
C++ ,Java

Respuesta :

ExieFansler ExieFansler
  • 24-07-2019

Answer:

The answer to this question is Java,C++.

Explanation:

We can assign non static final variables a value with the declaration or in the constructor but this is not the case with c++ because we have to assign value during declaration and c++ equivalent of final is const keyword and there is sealed or readonly keywords in c# not final.If we do not assign value at the time of declaration the const variable will contain garbage value which cannot be changed afterwards.

Answer Link

Otras preguntas

what are m and b in the linear equation y = 21x + 28​
Simplify 5 - 8 +3 * 9
Please help me :> i would love that ! :))
Use Micpoint and Supe Romuls to complete the tables below 1 Find the micpoint of given the coordinates R(58) and P (86) m: Midpoint #1
Learning task 7 : In your notebook, copy, study and underline the different modals mentioned in this song. Then, analyze if the said modals express permission,
1. What function does this input-output table show? alive. A tree's size is a function of its size(_ s(_)
HEELPPPPPP!!!!! Pleaseee
how many moles of carbon -12 are contained in exactly 6 gram of carbon-12?
[tex]10-\frac{3y-1}{2} =\frac{6y+3}{11}[/tex] y= If you don't know don't answer. I will give you Brainliest if correct.
Simplify 5 - 8 +3 * 9