Tuesday, November 17, 2009

Using Continue

In Programming languages such as C/C++, JAVA, PHP, Python.. etc the keyword continue is a jump statement like break and goto.
This is used to skip inside an iteration.
An example for this is the following for loop statement that prints all even numbers from 0 - 10.

for(int num = 0;num <= 10; num++){
if ((num % 2) > 0)
continue;
printf("%d ", num);
}


The code is written in C Language (actually it is more like an algotithm)
so even JAVA programmers can easily translate them.
Another example, for more sophisticated programming, continue may be also used for deleting entries in file manipulation.

Friday, November 13, 2009

Downloadable JAVA EBOOKS

Free JAVA Lectures (Slideshow).exe Free Java Lectures

How to Program in JAVA.rar JAVA How to Program - the password in this ebook is itspot.
This is a fully featured book where you can learn Java. The best book I know in that programming language.


Thinking in JAVA

I have a copy of this book and I find it easy to understand because of the detailed explanation.

The JAVA turoial A short course on the basics.chm This book helped me a lot on projects in school

squidoo.com/itebooks