Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
void means 'no return value' then is that different with a method 'println()' ?? I don't understand the difference between return value and println()...!
java
methods
1 Vote
6 Answers
1st Mar 2016, 9:35 AM
sooare
What if I create a private variable inside the main class, would that mean it'll be available in other classes? What do private variables even do?
access-modifiers
java
5 Votes
3 Answers
27th Feb 2016, 11:30 AM
Pavitran
How many devices work on java ? (approx)
java
0 Votes
2 Answers
26th Feb 2016, 7:47 PM
Pradyut Joshi
hello! can anyone explain the keyword this please I didn't understand it
constructors
java
this
4 Votes
3 Answers
24th Feb 2016, 8:21 PM
Kaoutar Noureddine
What is the difference between sourcecode and pseudocode?
java
0 Votes
6 Answers
24th Feb 2016, 9:16 AM
Anakin Sepherd
Would a comment be able to be ended and code inserted AFTER it?
comments
java
1 Vote
5 Answers
23rd Feb 2016, 9:19 PM
Alex Diaz
How would i make it so it accepts more than 1 parameter? i use commas?
java
methods
0 Votes
2 Answers
23rd Feb 2016, 8:11 PM
Orpheus
Can you give an example how to implement muliple interfaces in one class?
interfaces
java
7 Votes
2 Answers
23rd Feb 2016, 4:20 PM
Andrzej Warunek
hi... i probably didn't understand something but the following code doesn't lead to an error.. it changes the value of PI and prints it.
final
java
0 Votes
2 Answers
23rd Feb 2016, 7:56 AM
Orpheus
I don't understand when to use public, private and static words...
java
methods
2 Votes
3 Answers
23rd Feb 2016, 2:50 AM
Maria Rosaria Amabile
Can anyone tell me how to write a program that only show the second prompt after user input the first & press enter ?
input
java
-1 Vote
2 Answers
23rd Feb 2016, 1:34 AM
Lenny
What's the practical use of abstraction pls explain me, thanks in advance
abstract-classes
java
4 Votes
6 Answers
22nd Feb 2016, 11:58 AM
Piyush Joshi
I really dont understand for, while, do while etc.. they're all the same.. they can loop anything.. what's the difference?
java
loops
0 Votes
2 Answers
22nd Feb 2016, 1:13 AM
Rhey Jhey
How to read a file character by character?
files
java
0 Votes
1 Answer
21st Feb 2016, 8:38 AM
Siva kumar
What is (string [ ] args)?
java
1 Vote
3 Answers
21st Feb 2016, 5:25 AM
Charles Patel
Why should one choose python instead of java or c++?
c++
java
python
0 Votes
2 Answers
20th Feb 2016, 4:22 PM
Mohammadamin Beiruti
Why do we use overriding in our code?
java
polymorphism
0 Votes
2 Answers
19th Feb 2016, 10:12 AM
Mohammed Alghazzawi
How do I declare constant variables?
constants
java
variables
0 Votes
4 Answers
17th Feb 2016, 9:56 AM
Elijah Murimi
How does one declare constant variables like 3.142,for PI?
java
variables
3 Votes
9 Answers
16th Feb 2016, 6:18 AM
Elijah Murimi
Which is best Android Studio or Eclipse?
java
2 Votes
8 Answers
15th Feb 2016, 2:13 AM
Chaman Sharma
What is the difference between the normal comments and the document comments?
comments
java
0 Votes
1 Answer
13th Feb 2016, 2:34 PM
Daniel Bampoe
What tools is used to test the java program?
java
1 Vote
2 Answers
11th Feb 2016, 4:48 PM
Vivek Patil
Why main class should always be static?
java
static
3 Votes
4 Answers
8th Feb 2016, 9:22 PM
Khurshid wali
I can use single quote to the string value ? like string var='text';
java
strings
0 Votes
5 Answers
7th Feb 2016, 12:34 AM
Elghozi Nasreddine
Is CSS better than Bootstrap? Should I learn CSS first or Java Script first?
bootstrap
css
javascript
2 Votes
2 Answers
5th Feb 2016, 8:45 AM
Srijan Mukherjee
Can anyone explain why I need to create a constructor at all when I can just make an regular object and do the same things?
constructors
java
0 Votes
2 Answers
4th Feb 2016, 2:11 PM
Syed Ruman
How is a person supposed to keep all the specific exceptions straight?
exceptions
java
1 Vote
4 Answers
2nd Feb 2016, 9:53 PM
Elizabeth Lewis
What is use of math.random() ?
java
math
1 Vote
3 Answers
1st Feb 2016, 2:27 PM
Nilesh Solanki
Who is inventor of java?
java
0 Votes
3 Answers
30th Jan 2016, 6:54 AM
Aayush Gupta
Why is it List<integer> list = new ArrayList();? shouldnt the first one be ArrayList instead of List?
java
lists
0 Votes
4 Answers
28th Jan 2016, 10:19 PM
Branko Nešić
Why is there a semicolon and the braces after " Machine m1 = new Machine()" ?
anonymous-classes
java
0 Votes
2 Answers
27th Jan 2016, 3:04 PM
Dalia Ahmed
What does '+=' sign mean?
java
operators
4 Votes
8 Answers
26th Jan 2016, 10:41 PM
Miki
What do .jar extension refer?
java
0 Votes
1 Answer
25th Jan 2016, 9:50 AM
brinth khanna
Is SQL a language like java or c?
sql
0 Votes
4 Answers
23rd Jan 2016, 11:23 AM
Ankit S.Mahindre
What is diff between java and c++?
c++
java
0 Votes
3 Answers
23rd Jan 2016, 4:38 AM
Akash
What is a double attribute?
classes
java
0 Votes
3 Answers
23rd Jan 2016, 4:28 AM
Christopher Struble
Any particular reason why you wouldn't just keep everything public?
access-modifiers
java
1 Vote
6 Answers
22nd Jan 2016, 10:38 PM
Hamza
How to detect the OS?
java
0 Votes
1 Answer
17th Jan 2016, 8:00 PM
Gustavo Peralta Vazquez
Why should i type public before constructor? can i create a constructor without public?
constructors
java
0 Votes
2 Answers
14th Jan 2016, 12:04 PM
JulietLove
Does 'Exception e' declare an object 'e' of type Exception as a parameter, or is it syntax simply meaning 'all exceptions'?
exceptions
java
2 Votes
7 Answers
12th Jan 2016, 10:43 PM
Alex Greidinger
Difference between class & interface?
interfaces
java
2 Votes
4 Answers
12th Jan 2016, 6:26 PM
Abdul Rauf
Can i use a string in switch?
java
switch
0 Votes
6 Answers
11th Jan 2016, 11:34 AM
Ben Wong
Whats the point if you need to override all the methods insde the interface ?
interfaces
java
1 Vote
2 Answers
9th Jan 2016, 3:23 AM
Kanon
Can anyone tell me difference between Encapsulation and Abstraction?
abstraction
encapsulation
java
1 Vote
8 Answers
8th Jan 2016, 4:33 PM
Digambar Bhujabal
What is the difference between HashMap and HashSet?
hashmap
java
0 Votes
2 Answers
5th Jan 2016, 4:21 PM
Sindhu Manivannan
Seems like math class doesn't exist in my eclipse version in library. It asks me to create method pow when I try to check Double a = Math.pow(2,3); Any ideas?
java
math
1 Vote
1 Answer
5th Jan 2016, 2:39 PM
Eugene Lukianov
can we create constructor in abstract class?
abstract-classes
java
1 Vote
3 Answers
2nd Jan 2016, 4:50 PM
Amer Saoud
When we declare a class as final does it mean that we cannot create its subclasses or it cannot be the subclass of another class?
final
java
0 Votes
2 Answers
2nd Jan 2016, 12:13 PM
Shubham Jain
In most of the place i hv seen that the array format is like: int arr [5]; but here you r preferring to use int [5] arr; format. Is it really standard ?
arrays
java
0 Votes
3 Answers
2nd Jan 2016, 6:01 AM
Khandaker Maria Shabnam
What's the extact difference between scanner and bufferreader...which we need to use?
files
java
0 Votes
1 Answer
1st Jan 2016, 12:21 AM
jagadeesh nalla
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
907
908
909
Next >
Hot today
Problem from code coach.
4 Votes
HTML quest i tried all but idk why showing wrong.
3 Votes
Responsive Layout with Bootstrap
4 Votes
Languages for animation and games development ?
1 Votes
Flutter
0 Votes
I don't know how to code or what to code
0 Votes
Coding foundations vs Python Developer
0 Votes
How to start becoming a programmer
0 Votes
I just got here and python is going well bur waiting for the hearts nahhh🥲
0 Votes
What is the problem with this code?
0 Votes