Sunday, 15 September 2013

Calculator In Java Applet Code

This is the code for a simple calculator in java.
It is an applet.
Hope it does the required calculations for you :D
Screenshot:-

DOWNLOAD HERE:-

Saturday, 14 September 2013

Note Pad Editor Java Code

Code for java applet Note Pad Editor......
 Screen Shots :

Download Here:
                                                                NotePad Editor

Paint Brush Code for Java Applet

This is the java code for paint brush applet....
Screen Shots:

Download here:

                                                                  Paint Brush Applet

Friday, 13 September 2013

LOOPING

What will be the output of the following C code?

#include<stdio.h>

int main(){
static int i;
for(++i;++i;++i){
   printf("%d",i);
   if(i==4) break;
}
return 0;
}
.
..
...
....

Explanation:
OUTPUT: 24
Default value of static int variable in C is zero. So,initial value of variable i=0
First iteration:
For loop starts value: ++i   i.e. i=0+1=1
For loop condition: ++i   i.e i=1+1=2 i.e. loop condition is true
Hence printf statement will print 2
Loop incrimintation: ++i   i.e. i=2+1=3
Second iteration:
For loop condition: ++i   i.e. i=3+1=4 i.e. loop condition is true.
Hence printf statement will print 4.
Since i is equal to 4, if condition is also satisfies.
But due to break keyword, program control will come out of the for loop.

Thursday, 12 September 2013

Encryption And Decryption Using Java

This is an Encryption and Decryption code in Java, a very tough one to break.....
The code can be downloaded from the links below:

Screen Shots:



Download Here:

Wednesday, 11 September 2013

Blinking Banner In Java Applet Code

This is an applet to show a Blinking Banner.
The Banner is customizable and you can change the name,color etc in the code.
The code is given below.
Screenshot:-


DOWNLOAD HERE:-