• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

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 Answers
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 Votes
2 Answers
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 Answers
23rd Jul 2016, 2:13 AM
joel bonita
joel bonita - avatar
How to add an String[value] to String[] defined
addingarraylistarraysgetsmethodssetsstring[]stringsvalue
0 Votes
2 Answers
20th Mar 2017, 6:48 PM
Gema Isya Luthfi Prathama
Gema Isya Luthfi Prathama - avatar
< Previous1...56Next >
Hot today
How do I bridge the gap between learning and doing.
1 Votes
Please help me
2 Votes
How i learn it I feel bhai it's tough some one help me 😐
0 Votes
Game
0 Votes
WHY THEY CHANGED IN LESSONS PRACTICE JUST FOR PRO USERS?
1 Votes
Please recommend me
0 Votes
How can I make a note-taking app in Python (NoteNinja Project)?
0 Votes
how to make sans fight on web language
1 Votes
chat I wanna make a bullet hell game what language(s) do I need to know?
0 Votes
Dc
0 Votes