Category: Java

Getting familiar with Java: Arrays

In this chapter we will study about ‘Arrays’. First the similar process of creating a class namely ‘ExampleArrays’ with Eclipse. Go to FILE and then NEW and then CLASS. Then it will open another window namely, NEW JAVA CLASS. In the space of NAME write down ‘ExampleArrays’ and in the space of ‘Which method stubs…

Continue reading

Getting familiar with Java: “do-while” loop

Now, after learning in depth about while statement, in previous article let us learn about do-while statement.  Let us create a class name ExampleDoWhile in Eclipse. The procedure is same and if you want to learn about it then you should see this tutorial in order to create class name or please go through my…

Continue reading

Getting familiar with Java: “for” loop

In this tutorial let us learn about how “for” loop works. First we have to create a new class called as “ExampleFor” and the creation of new class within eclipse is same as before. From Eclipse go to FILE and then NEW and then CLASS and then it will open another window namely NEW JAVA…

Continue reading

Getting familiar with Java:: Arithmetic operator and if statements

In the previous articles we learnt about data variables integer and the arithmetic operator of addition(+). Apart from addition there are some other arithmetic operator such as subtraction (-), for multiplication (*), for division (/),for modulus (%).  The modulus sign is used to find the remainder. In short it is called as mod. Here is…

Continue reading

IndiChange - Harnessing the collective power of blogging to fight evil.