- Java

2-Dimensional array in java.

Two dimensional array is nothing but set of many one-dimensional array which is represented in usually rows and columns but they are stored in the continuous memory location. The syntax of the 2-D array is int twoD[][] = new int[4][5]; It allocates 4×5 int elements in an array which internally…

Read More

- Java

One dimensional array in java

Arrays Arrays are the collection of homogenous elements. In the sense they have same data type. Arrays can be declared as any dimensions.Each element of an array is accessed by it’s index. One dimensional array It is a single list of same data type.The general form of an array is:…

Read More

- Java

Introduction to Java

Introduction to Java. Beginner to java..?? No problem in this article let’s see how to start programmimg in java.Usually when people hear the word “Java” they think it is very difficult, guys trust me java is easier than C programming. Just that java is object oriented programming language.If you know…

Read More

- Java

Java program to generate pattern

Java program to generate pattern:   Hi guys….! In this article let’s learn how to generate a pattern.Usually a pattern is arrangement of symbols or numbers in a systematic order according to the requirement. In this program let’s see how to generate a pattern.  1  1 2  1 2 3…

Read More