Welcome Guest [Log In] [Register]
Welcome to Pearl Of The Stars. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Pictures for Jefe
Topic Started: Mar 6 2014, 04:43 AM (93 Views)
Cat's Pyjamas
Member Avatar

[ * ]
Jefe have you considered learning Java?

Posted Image
Offline Profile Quote Post Goto Top
 
Cat's Pyjamas
Member Avatar

[ * ]
Here's a more personal class.

Posted Image

Note the two For loops. The first one is called an enhanced for loop. The second one is the C style for loop.
Offline Profile Quote Post Goto Top
 
Cat's Pyjamas
Member Avatar

[ * ]
Here is what the PearlMembers class outputs. Its a very simple program:

Posted Image

The first list is displayed as entered. The second list has been sorted alphabetically then displayed.
Offline Profile Quote Post Goto Top
 
Cat's Pyjamas
Member Avatar

[ * ]

Lyrics - The Who - Pictures of Lily Lyrics
Pictures of Lily Lyrics - The Who


Review The Song (7)



"I used to wake up in the morning
I used to feel so bad
I got so sick of having sleepless nights
I went and told my dad

He said, "Son now here's some little something"
And stuck them on my wall
And now my nights ain't quite so lonely
In fact I, I don't feel bad at all

Pictures of Lily made my life so wonderful
Pictures of Lily helped me sleep at night
Pitcures of Lily solved my childhood problems
Pictures of Lily helped me feel alright

Pictures of Lily
Lily, oh Lily
Lily, oh Lily
Pictures of Lily

And then one day things weren't quite so fine
I fell in love with Lily
I asked my dad where Lily I could find
He said, "Son, now don't be silly"

"She's been dead since 1929"
Oh, how I cried that night
If only I'd been born in Lily's time
It would have been alright

Pictures of Lily made my life so wonderful
Pictures of Lily helped me sleep at night

For me and Lily are together in my dreams
And I ask you, "Hey mister, have you ever seen"
"Pictures of Lily?""









Offline Profile Quote Post Goto Top
 
Cat's Pyjamas
Member Avatar

[ * ]
Here is the code for a simple lottery numbers generator.

Posted Image

Offline Profile Quote Post Goto Top
 
Cat's Pyjamas
Member Avatar

[ * ]
Here's the output of the above LotteryNumbers code:

deleted@Satellite-C660:~$ java LotteryNumbers
10
16
19
22
28
30
deleted@Satellite-C660:~$
Offline Profile Quote Post Goto Top
 
Cat's Pyjamas
Member Avatar

[ * ]
deleted@Satellite-C660:~$ java LotteryNumbers
4
20
26
29
37
44
deleted@Satellite-C660:~$
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Chamber of Discourse · Next Topic »
Add Reply