Forum: Java
Mar 24th, 2008, 12:30 AM
|
|
Replies: 5
Views: 218
Re: Number in Java
The exact problem I am having is that I can't find out if there is a way to ask the user to enter a set of integers of the form 0...some integer say 10 in the form 0...10 and have java take it to...
|
Forum: Java
Mar 23rd, 2008, 4:00 PM
|
|
Replies: 5
Views: 218
Number in Java
Is there any way to have a user input a set of numbers in the form of 0...whatever. i.e like 0...100 and have java take every number between 0 to 100.? I'm asking because as a personal project I am...
|
Forum: Java
Mar 19th, 2008, 11:25 AM
|
|
Replies: 7
Views: 221
Re: Importing classes
So do different packages use classes with the same name in them? Or is it more for when you define your own classes so that you don't accidentally use a class name thats in one of the packages you...
|
Forum: Java
Mar 18th, 2008, 10:23 PM
|
|
Replies: 7
Views: 221
Re: Importing classes
Well the reason I ask is that the book I'm learning from imports classes on a name basis i.e. javax.swing.JFrame, javax.swing.JTextField, etc. What I'm wondering is why doesn't the book just have...
|
Forum: Java
Mar 18th, 2008, 9:35 PM
|
|
Replies: 7
Views: 221
Importing classes
Is there any advantages to simply importing a few portions of a class rather than the whole class?
If i'm not asking this correctly what i mean is this...as an example when you are importing parts...
|
Forum: Coder's Corner Lounge
Mar 18th, 2008, 11:00 AM
|
|
Replies: 25
Views: 714
|
Forum: Coder's Corner Lounge
Mar 18th, 2008, 10:59 AM
|
|
Replies: 25
Views: 714
Re: 500 Ways to Cause An Error
17) Java
Array error[]= new Array[ 3 ];
error[1] = new ....
error[2] = new....
error[3]= new....
causes a java main thread exception error
|
Forum: Java
Mar 16th, 2008, 9:45 PM
|
|
Replies: 4
Views: 179
Re: Encapsulation
Encapsulation is a part of Java programmings structure. All Object Oriented programming uses encapsulation. When you refer to encapsulation you are just saying that something is contained in...
|
Forum: Community Introductions
Mar 15th, 2008, 12:43 PM
|
|
Replies: 1
Views: 147
Hello
Hello. I'm a math student pursuing a masters degree and been involved in Java programming for about a year. Which has been just long enough for me to realize that what i've learned has taught me the...
|