Pages

Saturday, April 23, 2011

Motorola Xoom - is it worth buying?

Well, Looking at both masterpieces of technology, I suppose that the iPad is more glamorous in looks. For instance, the light weight, curvy edges, one button, and all that stuff makes it shine. However, I am right now more concerned in looking at what's inside.

Saturday, April 9, 2011

JAVA Tutorial - Designing a Basic Graphical User Interface (GUI) Part 1 - Session 5

Fifth session outlines basic knowledge about designing a graphical user interface in java.

Saturday, January 8, 2011

Happy New Year Everyone!

Dear all!

Sorry for late posting. I was very busy since the start of new year and hence could not catch up. Anyways, HAPPY NEW YEAR to all!!!
I've been to the Westminster in London for the 31st night celebration. Checkout the video I shot with my new Sony Bloggie:



Thanks for watching. However, I would not be able to conduct another session on java until next week due to submissions at my university. I shall, perhaps continue after a week or so. Sorry for delay.

Manthan Dave

Wednesday, December 22, 2010

Session 2 - Variables and IO - JAVA Programming Guide Online

In this session, you are going to learn about variables and IO operations. This is fairly easy to understand and once you get hold of it, then whatever comes next, will be easy for you. Variables are like containers of information. However, a variable is specific container of information. For instance, if a variable has been specified to hold numbers, it will only hold numbers. Once defined, variable cannot change its type. Lets get started with this to understand in detail.
Lets design a program that adds two numbers. For this, you will have to ask one number from user, store it somewhere, ask another, store it again somewhere, add the two, and display the result. Fairly easy, isn't it? In order to do this, you will have to define three variables. The first one will hold the first number, second one will hold second number, and the third one will hold the addition of two. In order to make this simple, for now, lets not allow the user to enter decimals. This program will only allow whole numbers. For this, we have to define variables as 'integers'. When we define a variable as integer, it only allows user to type in numbers and not decimals. We can define the variables like this:

int value1;
int value2;
int sum;

Ads

Look into BLOG ARCHIVE for more posts.