• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu

F&A Diskussionen

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 Stimmen
4 Antworten
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 Stimmen
2 Antworten
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 Stimme
4 Antworten
23rd Jul 2016, 2:13 AM
joel bonita
joel bonita - avatar
How to add an String[value] to String[] defined
addingarraylistarraysgetsmethodssetsstring[]stringsvalue
0 Stimmen
2 Antworten
20th Mar 2017, 6:48 PM
Gema Isya Luthfi Prathama
Gema Isya Luthfi Prathama - avatar
< Vorherige1...56Weiter >
Heute heiß
Functions in python
2 Votes
HTML
1 Votes
For Mobile app
0 Votes
What’s the One Thing That Helped You Learn Coding Faster?
2 Votes
Answer please
0 Votes
I need advice
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
I need advice
0 Votes
Why this code fails even without data race
0 Votes