Tag Archives: java

Installing SDK

Originally posted on ProgramThat;:
The first thing you need to do is install the Android SDK. This is the same as the Java SDK you also need to have installed. 1. To obtain the android SDK go to: http://developer.android.com/sdk/index.html 2.…

Posted in Android Programming | Tagged , , , , , , , | Leave a comment

Java program to find duplicate elements in an Array

Today we shall learn how to detect the repeated digits in a given array.The main logic behind this is we need to check every number with other numbers.That is first we need to find the length of the given array … Continue reading

Posted in Java | Tagged , , , | 1 Comment

JAVA program to print Multiplication Table

Today we shall program another simple and basic problem.In our childhood many of us find difficulty in learning the Multiplication tables.Now, we shall take revenge on them by writing the program.Let us consider that our program takes two values as … Continue reading

Posted in Java | Tagged , , , , , , , , , , | Leave a comment

Sum of digits in JAVA

Here is a traditional problem…..Finding the sum of digits of given number.It is not a difficult one, just we need to find the logic in it.Logic is we need to get the digits of the given number using modulus operator.Now, … Continue reading

Posted in Java | Tagged , , , , , | 1 Comment

Fibonacci series in JAVA

By definition Fibonacci series in defined as the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two.i.e the nth number is obtained by adding the n-1 and … Continue reading

Posted in Java | Tagged , , , , | 1 Comment

Data types

In every programming language storing of the data is crucial and data types play a vital role in storing the data.Java is no exception for this.Generally data types are divided into two types. There are numeric and character data type. … Continue reading

Posted in Java | Tagged , , , | Leave a comment

Hello world using java

Today we shall start our programming in java with a very basic program which all of us know is Hello world.The best advantage of Java programming is there is no need to include any header files.But every Java program should … Continue reading

Posted in Java | Tagged , , , | Leave a comment

Introduction To Java

Java is an object oriented programming language which is used predominantly in present times.The main advantage of java is it is platform independent.This is because in Java the source code is first converted into byte code that can run on … Continue reading

Posted in Java | Tagged , , , | Leave a comment