Jump to content


Check out our Community Blogs

Coldhearth

Member Since 02 Oct 2008
Offline Last Active Jan 15 2010 01:16 AM
-----

Posts I've Made

In Topic: Java Book

19 December 2009 - 04:26 AM

I'm using Deitel - Java How To Program 6th edition :) Very good book in my opinion.

In Topic: Nid help in boolean type array..

19 December 2009 - 04:20 AM

Just like any other array I suppose :)
This simple sample program might help...:
public static void main(String[] args) {
		Scanner input = new  Scanner(System.in);
		// Initialize the boolean array
		boolean[] booleanArray = new boolean[9];
		
		//Give in true of false for each array element (fill up the array)
		for(int i=0; i<9; i++){
			System.out.printf("Give in true or false for array element %d", i);
			boolean value = input.nextBoolean();
			booleanArray[i] = value;
		}
		
		//Show the array elements
		for(boolean element : booleanArray)
			System.out.printf("%s ", element);
		
	}

In Topic: Need help with exercise: Flight reservation system

14 December 2009 - 07:16 AM

Does somebody know a source code example of a simple exercise that uses the MVC pattern with a MySQL database for the data?
An example would be very good to study and learn from :)

In Topic: Beginner programming ideas and exercies

11 December 2009 - 03:41 PM

Thx for the links :) but these are exercises for little pieces of programming.
I'll use them :) but what I meant was a good idea to make a small program like a little NotePad or some sort of other simple programs like an agenda, etc...
Anyone any good ideas? Keep in mind that I'm still a beginning programmer.

In Topic: Getting the hang on the "OOP thinkin process"

30 November 2009 - 01:10 PM

I know it's a completely different thinking process...
My question is how do I teach myself to learn to think in therm of objects and relations between objects, methods and attributes...

Do a books like "The Object Oriented Thought Process 3th edition" or "Head First: Object Oriented Analysis and Design" teach me those skills or are they focusing on other stuff?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download