• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

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 Votes
4 Réponses
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 Vote
2 Réponses
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 Vote
4 Réponses
23rd Jul 2016, 2:13 AM
joel bonita
joel bonita - avatar
How to add an String[value] to String[] defined
addingarraylistarraysgetsmethodssetsstring[]stringsvalue
0 Vote
2 Réponses
20th Mar 2017, 6:48 PM
Gema Isya Luthfi Prathama
Gema Isya Luthfi Prathama - avatar
< Précédent1...56Suivant >
Aujourd'hui en vedette
overloading operators << >>
1 Votes
how does this code function?
2 Votes
.
1 Votes
Default constructor and default assignment operator
0 Votes
.
0 Votes
My question is about python?
0 Votes
Issue in code
0 Votes
i need to learn Coding
0 Votes
Quiz duel
0 Votes
Who is the best one in html can find for more comprehension
1 Votes