• Cursos
  • Code Compiler
  • Discussão
  • Preços
  • Equipas
Menu

Discussões Q&A

Can i access to private class var's? Ex. public class me{ private Int a = 1; private Int b = 20; } then we have the constructor and gets and setters, but in other class can I get the values of a and b? calling class or never because its private? How?
access-modifiersclassesjavaobjects
4 Votos
4 Respostas
6th Jul 2016, 12:54 PM
João Lourenço
So i understand that x++ is changing the vafiable after it is used and ++x before. But in the example of x = 5 y = ++x Why does y not equal 6 when x gets changed before use.
c++operators
0 Voto
2 Respostas
16th Sep 2016, 3:41 PM
sam
can someone kindly correct me if i am wrong about this quote "As the program contains multiple lines of code, you should create it as a separate file and run it." does that mean that if my code gets bigger it is advisable to create less line of codes but many files?
if-statementspython
1 Voto
4 Respostas
23rd Jul 2016, 2:13 AM
joel bonita
joel bonita - avatar
How to add an String[value] to String[] defined
addingarraylistarraysgetsmethodssetsstring[]stringsvalue
0 Voto
2 Respostas
20th Mar 2017, 6:48 PM
Gema Isya Luthfi Prathama
Gema Isya Luthfi Prathama - avatar
< Anterior1...56Seguinte >
Popular hoje
How do we code calculator
2 Votes
What programming language should i learn to make applications or games?
0 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
Pressure and tension
2 Votes
How to make a selection on a calculator in Python
0 Votes
Conducción de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 m², espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes
Where is code bit
0 Votes