Posts
 
Reputation
Joined
Last Seen
Ranked #131
Strength to Increase Rep
+12
Strength to Decrease Rep
-3
90% Quality Score
Upvotes Received
240
Posts with Upvotes
207
Upvoting Members
103
Downvotes Received
25
Posts with Downvotes
24
Downvoting Members
16
74 Commented Posts
8 Endorsements
Ranked #233
Ranked #111
~475.88K People Reached
About Me

Tech writer. Coder for sport, not for pay.

Interests
Brewing. Translation. Accordion.
PC Specs
UNIX. Tops-20 for fun.
Member Avatar for Duki
Member Avatar for BuhRock

At any given point there is one largest number. Either the new number isn't larger than the previous largest number, or it is. What do you do in the first case? What do you do in the second?

Member Avatar for JamesCherrill
0
14K
Member Avatar for prem2

Prem - are you looking for function prototypes in Java? If so, there are none. In C, you have a header file with int foo(int dollars); float bar(void); and so forth. This is neither necessary nor possible in Java. This may be too much detail, but this is because Java's …

Member Avatar for JamesCherrill
0
4K
Member Avatar for mikeandike22

[QUOTE=VEGETA_DTX;1458646]My dear god! What an insolent person you are Narue, do you even hear yourself? I think that any further discussion with somebody as insolent and as poor-mannered as you, especially for a female, would be ultimately ridiculous.[/QUOTE] "Especially for a female?" Care to explain what you mean by that?

Member Avatar for VEGETA_DTX
1
2K
Member Avatar for emmstarr

For the N>=10, I'd assumed you would use hex. :) Okay, step away from the code for a minute. Think about what you're trying to do, and then see if the code comes clearer. In short, you want to print n rows, each one composed of the descending-ascending sequence n..1..n. …

Member Avatar for Jorge_12
0
5K
Member Avatar for vegaseat

[QUOTE=Agilemind;1300900]a single Canada Goose (not Canadian Goose) poos every 5 minutes. [/QUOTE] Yeah, I've had days like that. I think it was the chili the last time.

Member Avatar for vegaseat
11
9K
Member Avatar for Rachy3091

Sure. What's your question? (I think I can guess, but I'd rather you state the problem explicitly)

Member Avatar for stultuske
0
142
Member Avatar for LegendX

Sounds like you're new at this. Have a go at writing it and see where you get. First thing to do is to work out what the steps are. So for part one, you've been told to use a while loop to prompt a user to enter five integers and …

Member Avatar for JamesCherrill
0
142
Member Avatar for ezkonekgal

If you allow entry of filename and then search for the files, you'll have to be ready to handle multiple files with the same name. (ie, programs/java/foo.java and programs/java/bar/foo.java) An easier task would be to ask the user to operate a standard file chooser, where they have to actually specify …

Member Avatar for emoon11
0
2K
Member Avatar for Doctor Inferno
Member Avatar for SgtMe
Member Avatar for tayspen
Member Avatar for loozax

Very interesting. I hadn't thought about the implications of devanagari and unicode representation for this problem. For those who haven't looked at Indian languages, the representation is syllabic, with consonants followed by short a unless otherwise specified, and consonant clusters represented by compounding the consonant signs: सरस्वती would be read …

Member Avatar for JamesCherrill
0
702
Member Avatar for rayden150

What sorts of things are you interested in doing with programming? Different languages offer different possibilities - or, perhaps, different languages incline towards different tasks. If you want to learn general programming skills, Java might be a good place to start, although there's a lot of overhead to absorb. Some …

Member Avatar for stultuske
0
254
Member Avatar for julm

Java operators are actually a bit more involved of a list. Look in the Language Spec (search google for Java Language Specification, and bookmark it, you'll be referring to it a lot, especially if I answer your questions) To help you out, here's the relevant section: 3.12 Operators The following …

Member Avatar for dansm88
0
911
Member Avatar for prem2

[QUOTE=prem2;1301975]Hi team, Can any one say what is instance Method in java with example? Thank you, with Regards, Prem[/QUOTE] An instance method is a method of an instantiated class. A simple example might be this: You have a Class representing Cat. Each Cat can do some things - it can …

Member Avatar for JamesCherrill
0
2K
Member Avatar for GrimJack

Talleyrand - the smartest man in Europe in his day. Managed to keep himself on top from monarchy to revolution to Terror to Napoleon, and did it in style.

Member Avatar for GrimJack
3
530
Member Avatar for GrimJack

I have friends who will never get old. I miss them like hell. Growing old isn't such a bad option, all things considered.

Member Avatar for vinnitro
1
3K
Member Avatar for sillyboy

Chris Moore (aka Moore and Sons). Will be listening to something else another day, but this one just came in the door, so I'm still pretty high on it.

Member Avatar for Helianthus
0
5K
Member Avatar for vegaseat

Funny, I just started playing with Python and primes was the first thing I tried. Here's what I came up with - appreciate any feedback, especially the useful kind. What I was really wanting to learn, of course, was file io, hence the trick of storing a batch of primes …

Member Avatar for Mavericks
1
3K
Member Avatar for webdragon89

What happens if you find a composite while count is a multiple of 9? You'll hit line 38, and that condition is true, so it prints a new line.

Member Avatar for hiddepolen
0
638
Member Avatar for jon.kiparsky

This is really just too cute. Anyone having trouble with QuickSort? Watch [URL="http://www.youtube.com/user/AlgoRythmics"]this[/URL], it'll all make sense. :)

Member Avatar for AliTheChamp
3
125
Member Avatar for niamul

Um, please don't post stuff like that. Not only is it godawful ugly, it also defeats the purpose of a switch, and, by the way, won't even look like compiling. Switch is a mechanism for comparing a value against a range of primitive constants, and the cases have to be …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for Shanti C

[QUOTE=characteredu;1447497]Today i learn how to control your feelings when you are getting angry with someone.[/QUOTE] Duuuude.... I'll have to be careful about getting angry with people, if it gives you the power to control my feelings.

Member Avatar for Netcode
0
919
Member Avatar for vishal1949

I'm not sure I see what it is you're trying to do with these interfaces. What does it buy you to implement (sorry) these categories as interfaces, and not, say, as booleans or as enums or named constants? I can't think of any method signatures that would be required of …

Member Avatar for Ezzaral
1
348
Member Avatar for Sonny101

the .NET platform is popular in business, but it's limited to the Windows environment, obviously. Java is still in demand, but it's not the hot thing any more. For web stuff, honestly, I don't think either is your first choice these days. People seem to be developing in Python (although …

Member Avatar for Tellalca
0
233
Member Avatar for PHIPH

I disagree entirely with the notepad part. Haven't tried notepad++, so I can't say about that, but if you learn some flavor of vi (vim, gvim, elvis...) you might find that it's worth the effort to use a full-featured text-oriented editor. Some people like Emacs, but I don't talk to …

Member Avatar for jwenting
0
176
Member Avatar for Chicken80

Coming in late to the game, I just want to point out to the original poster that proving to yourself that you don't need to check past the square root is a worthwhile exercise, and not a tremendously difficult one.

Member Avatar for jon.kiparsky
0
351
Member Avatar for bangor_boy

A few notes. [QUOTE][B]Abstract Class[/B] 1.Cannot be initated.[/QUOTE] instantiated - "initiated" doesn't mean anything here... [QUOTE]4.A class extending the abstract class does not need to use all the abstract methods from the abstract class.[/QUOTE] Does not need to use them, but it must provide code for them, even if the …

Member Avatar for stevanity
0
246
Member Avatar for dannny_00

This is a neat problem - if you think about it, you might be able to work out the final state of the "experiment", but it does take a bit of an "aha!" moment. While you're mulling that over, the best way to start writing a program like this is …

Member Avatar for jon.kiparsky
0
131