Earn by twitter on twivert

Sign up for PayPal and start accepting credit card payments instantly.

Friday, January 29, 2010

Internet Explorer Shortcuts Keys

Internet Explorer Shortcuts Keys:

 
  1. CTRL+A - Select all items on the current page
  2. CTRL+D - Add the current page to your Favorites
  3. CTRL+E - Open the Search bar
  4. CTRL+F - Find on this page
  5. CTRL+H - Open the History bar
  6. CTRL+I - Open the Favorites bar
  7. CTRL+N - Open a new window
  8. CTRL+O - Go to a new location
  9. CTRL+P - Print the current page or active frame
  10. CTRL+S - Save the current page
  11. CTRL+W - Close current browser window
  12. CTRL+ENTER - Adds the http://www. (url) .com
  13. SHIFT+CLICK - Open link in new window
  14. BACKSPACE - Go to the previous page
  15. ALT+HOME - Go to your Home page
  16. HOME - Move to the beginning of a document
  17. TAB - Move forward through items on a page
  18. END - Move to the end of a document
  19. ESC - Stop downloading a page
  20. F11 - Toggle full-screen view
  21. F5 - Refresh the current page
  22. F4 - Display list of typed addresses
  23. F6 - Change Address bar and page focus
  24. ALT+RIGHT ARROW - Go to the next page
  25. SHIFT+CTRL+TAB - Move back between frames
  26. SHIFT+F10 - Display a shortcut menu for a link
  27. SHIFT+TAB - Move back through the items on a page
  28. CTRL+TAB - Move forward between frames
  29. CTRL+C - Copy selected items to the clipboard
  30. CTRL+V - Insert contents of the clipboard
  31. ENTER - Activate a selected link
  32. HOME - Move to the beginning of a document
  33. END - Move to the end of a document
  34. F1 - Display Internet Explorer Help

Windows Explorer Shortcuts Keys

Windows Explorer Shortcuts Keys:

 
  1. ALT+SPACEBAR - Display the current window’s system menu
  2. SHIFT+F10 - Display the item's context menu
  3. CTRL+ESC - Display the Start menu
  4. ALT+TAB - Switch to the window you last used
  5. ALT+F4 - Close the current window or quit
  6. CTRL+A - Select all items
  7. CTRL+X - Cut selected item(s)
  8. CTRL+C - Copy selected item(s)
  9. CTRL+V - Paste item(s)
  10. CTRL+Z - Undo last action
  11. CTRL+(+) - Automatically resize the columns in the right hand pane
  12. TAB - Move forward through options
  13. ALT+RIGHT ARROW - Move forward to a previous view
  14. ALT+LEFT ARROW - Move backward to a previous view
  15. SHIFT+DELETE - Delete an item immediately
  16. BACKSPACE - View the folder one level up
  17. ALT+ENTER - View an item’s properties
  18. F10 - Activate the menu bar in programs
  19. F6 - Switch between left and right panes
  20. F5 - Refresh window contents
  21. F3 - Display Find application
  22. F2 - Rename selected item

Saturday, January 23, 2010

Windows XP Shortcuts

Windows XP Shortcuts:

 
  1. ALT+- (ALT+hyphen) - Displays the Multiple Document Interface (MDI) child window's System menu
  2. ALT+ENTER - View properties for the selected item
  3. ALT+ESC - Cycle through items in the order they were opened
  4. ALT+F4 - Close the active item, or quit the active program
  5. ALT+SPACEBAR - Display the System menu for the active window
  6. ALT+TAB - Switch between open items
  7. ALT+Underlined letter - Display the corresponding menu (e.g. ALT+F for file menu)
  8. BACKSPACE - View the folder one level up in My Computer or Windows Explorer
  9. CTRL+A - Select all
  10. CTRL+B - Bold
  11. CTRL+C - Copy
  12. CTRL+I - Italics
  13. CTRL+O Open an item
  14. CTRL+U - Underline
  15. CTRL+V - Paste
  16. CTRL+X - Cut
  17. CTRL+Z - Undo
  18. CTRL+F4 - Close the active document
  19. CTRL - While dragging Copy selected item
  20. CTRL+SHIFT - While dragging Create shortcut to selected iteM
  21. CTRL+RIGHT ARROW - Move the insertion point to the beginning of the next word
  22. CTRL+LEFT ARROW - Move the insertion point to the beginning of the previous word
  23. CTRL+DOWN ARROW - Move the insertion point to the beginning of the next paragraph
  24. CTRL+UP ARROW - Move the insertion point to the beginning of the previous paragraph
  25. SHIFT+DELETE - Delete selected item permanently without placing the item in the Recycle Bin
  26. ESC - Cancel the current task
  27. F1 - Displays Help
  28. F2 - Rename selected item
  29. F3 - Search for a file or folder
  30. F4 - Display the Address bar list in My Computer or Windows Explorer
  31. F5 - Refresh the active window
  32. F6 - Cycle through screen elements in a window or on the desktop
  33. F10 - Activate the menu bar in the active program
  34. SHIFT+F10 - Display the shortcut menu for the selected item
  35. CTRL+ESC - Display the Start menu
  36. SHIFT+CTRL+ESC - Launches Task Manager
  37. SHIFT = when you insert a CD Prevent the CD from automatically playing
  38. WIN - Display or hide the Start menu
  39. WIN+BREAK - Display the System Properties dialog box
  40. WIN+D - Minimizes all Windows and shows the Desktop
  41. WIN+E - Open Windows Explorer
  42. WIN+F - Search for a file or folder
  43. WIN+F+CTRL - Search for computers
  44. WIN+L - Locks the desktop
  45. WIN+M - Minimize or restore all windows
  46. WIN+R - Open the Run dialog box
  47. WIN+TAB - Switch between open items

Encouragement from a friend

Encouragement from a friend after trouble
is as welcome as sunshine a storm

WAP TO PRINT VALUE OF MULTIPLE DATA TYPES


/*WAP TO PRINT VALUE OF MULTIPLE DATA TYPES*/

#include<stdio.h>
#include<conio.h>
void main ()
{
int a=10;
float d=40.50;
char ch='A';
double dbl=78.9786;
long lng=7897711;
char nm [10]="Welcome";
clrscr ();
printf ("\nInteger value is %d",a);
printf ("\nFloat value is %.2f",d);
printf ("\nCharacter value is %c",ch);
printf ("\nDouble value is %.4lf",dbl);
printf ("\nLong value is %ld",lng);
printf ("\nString value is %s",nm);
getch ();
}

WAP TO PRINT SERIES FROM 1 TO 10 AND BREAK ON 5


/*WAP TO PRINT SERIES FROM 1 TO 5 AND BREAK ON 3*/

#include
#include
void main ()
{
int a;
clrscr ();
for (a=1;a<=5;a++)
{
if (a==3)
break;
printf ("%d\n",a);
}
getch ();
}

WAP to print ASCII code from 0 to 255


/*WAP to print ASCII code from 0 to 255*/

#include
#include
void main ()
{
int i=0,count=0;
clrscr ();
for(i=0;i<=255;i++){if (count>24)
{count=0;getch();}
else
{printf("%d=%c\n",i,i);
count++;}
}
getch ();
}

Sunday, January 10, 2010

create a folder without name

create a folder without name

To Create a folder without any Name to your system,Do the Following.


1.Create a Folder.

2.Right Click on the folder and click rename.

3.Press alt+255 while performing the second step.

4.Click outside the folder.

5.Now ,a Folder without name has been created

Windows XP Registry trick

               Windows XP Registry trick
Today I teach you some of the very interesting system registry editing tricks......
but try these tricks at your own risk....

First of all goto start>run
type regedit.exe

Structure of Windows XP Registry :


When you will open the Windows XP Registry, you will see it's divided into two panes.
On the left side there are Five main Keys as shown below. These can be expanded to
several Sub-Keys, which further has many Sub-Keys.
Before you try out the Tweaks, learn how to Backup and Restore Windows XP Registry.

Types of Registry Backups :

It?s very important that before you do editing you make a backup of the current registry. If you ignore this warning, it might prove deadly for you?so better listen to me
Open your registry:

Go to Start>Run,
type regedit.exe
When you invoke the Export function by clicking File>Export, you are given a choice of different file types that can be saved :

Registration Files (*.reg)
Registry Hive Files (*.*)
Text Files (*.txt)
Win9x/NT 4 Registration Files (*.reg)
All Files

Each one of the different file types above plays an important role in how the data you export is saved. Choosing the wrong type can give you unexpected results. So let me explain you quickly these file types.

Registrations Files:

The Registration Files option creates a .reg file. This is the most well known file format used for backing up the registry.The Registration File can be used in two ways. As a text file it can be read and edited using Notepad outside of Registry Editor. Once the changes have been made and saved, right clicking the file and using the [Merge] command adds the changed file back into the registry. If you make additions to the registry using regedit and then merge the previously saved Registration File, anything that you've added via regedit will not be removed, but changes you make to data using regedit that previously existed in the saved Registration File will be overwritten when it is merged

Registry Hive Files :

Unlike the Registration Files option above, the Registry Hive Files option creates a binary image of the selected registry key. The image file is not editable via Notepad nor can you view its contents using a text editor. However, what the Registry Hive Files format does is create an image perfect view of the selected key and allow you to import it back into the registry to insure any problematic changes you made are eliminated.

Text Files :

This option does just as the name suggests. It creates a text file containing the information in the selected key. It's most useful purpose is creating a record or snapshot of a key at a particular point in time that you can refer back to if necessary. It cannot be merged back into the registry like a Registration File.

Win9x/NT 4 Registration Files :

This option creates a .reg file in the same manner used by the Registration Files option. It's used by previous Windows versions and serves no purpose in XP unless you want to merge a key from XP into a previous version of Windows.

Out of the give above choices , the safest method of backing up registry is to use Registry Hive Files option. No matter what ever you do or goes wrong in editing, importing the image of the key will eliminate all changes.



1. Disable the Autorun Option in your CD Rom Drive:
Open your Registry and navigate to "HK_L_M\system\currentcontrolset\services\cdro m" Change the value of 'Autorun', or create a new DWORD value if it doesn't already exist, and set the value as '0' for Autorun disabled.


2. Disable the Harddisk Lowdiskspace warning in Windows Xp User Key:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and System Key:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer" create a new DWORD 'NoLowDiskSpaceChecks' and change its value to '1'.


3. Disable the Windows Key:
"HK_L_M\system\currentcontrolset\control\keybo ard layout" Create a new Binary value, or modify the existing value called 'Scancode Map' as shown below. Value:
00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0 00 00 5C E0 00 00 00 00


4. View System BIOS Information:
Open Registry and navigate to "HK_L_M\hardware\description\system"


5. Change the Title of Windows Media Player:
"HK_C_USER\software\policies\microsoft\windowsmedi aplayer\" Create a new string value called ' TitleBar' and change text as your wish.


6. Disable Internet access in Network:
Open Registry and make the following changes "KH_C_User\software\microsoft\windows\currentversi on\internetsettings\" Change the value of "Proxyenabled" to 1 and change the value of "proxyserver" and set it to an ip address. Change the value of the ip address and port to "10.0.0.1:
5555"


7. Disable the ability to Right click on the desktop:
"HK_C_User\software\microsoft\windows\currentversi on\policies\explorer\" Create a DWORD "NoViewContextMenu" and change its value to "0" for disabling and "1" for enabling.


8. Hide all items on desktop:
"HK_C_USER\software\microsoft\windows\currentversi on\policies\explorer\" and "HK_L_M\software\microsoft\windows\currentversion\ policies\explorer\" create a new DWORD "NoDesktop" and change its value to "1" You can show all the items in the desktop by chaning the value to "0"



9. Disable the "Change Password" button in windows:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\System" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersi on\Policies\System" Create a new DWORD "DisableChangePassword" and change its value to "0" for disabling and "1" for enabling.



10. Disable the "cancel" button or pressing the "Esc" key while logging on to Windows":
"HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cu rrentVersion\Run" Create a new string value "NoLogon" and change its value to "RUNDLL32 shell32,SHExitWindowsEx 0"



11. Remove "Log off" from start menu:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer" Create a new DWORD "NoLogOff" and change its value to "1" for disabling and "0" for enabling.



12. Clear the Recent playlist in Media Player:
Navigate to "HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\ Player" And clear the "RecentFileList" subkey.


13. Empty temporary Internet files on exit (in Internet Explorer):
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Internet Settings\Cache" and "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur rentVersion\Internet Settings\Cache" Create a new DWORD "Persistent" and change the value to "0" for emptying and "1" to remove this option.


14. Clear the Internet Explorere typed addresses history:
"HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" And delete the subkeys.


15. Remove recent documents from start menu:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer" Create a new DWORD "NoRecentDocsMenu" and change its value to "1".


16. Remove Network connections from start menu:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer" Create a new DWORD "NoNetworkConnections" and change its value to "1".



17. Remove My documents from start menu:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer" Create a new DWORD "NoSMMyDocs" and change its value to "1".



18. Remove My pictures from start menu:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer " Create a new DWORD "NoSMMyPictures" ad change its value to "1".


19. Remove My music fro start menu:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer" and "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer" Create a new DWORD "NoStartMenuMyMusic" and change its value to "1".


20. Reboot windows after crash:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl" Create a new DWORD "AutoReboot" and change its value to "1".Restart the machine for the effect to take place.


21. Disable the use of MSDos:
User Key:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\WinOldApp" and System Key:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\WinOldApp" Create a new DWORD "Disabled" and set its value to "1". Change it to "0" for enabling.



22. Enable Directory completion in MSDos prompt:
User Key:
"HKEY_CURRENT_USER\Software\Microsoft\Command Processor" and System Key:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor" Create a new DWORD "PathCompletionChar " and set it to equal the hex value of the required control character.


23. Quick edit the command prompt:
User Key:
"HKEY_CURRENT_USER\Console" and System Key:
"HKEY_USERS\.DEFAULT\Console" Create a new DWORD "QuickEdit" and set its value to "1" for enabling and "0" for disabling.


24. Disable Registry editing:
"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Curr entVersion\Policies\System" Create a new DWORD "DisableRegistryTools" and change its value to "0" for allowing Regedit and "1" for disabling it.


25. Disable task scheduler:
" HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\RunServices" Delete the value from "SchedulingAgent". Usually its value is set to "'mstask.exe".



26. Remove My computer from desktop and start menu:
User Key:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Policies\NonEnum" and System Key:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Policies\NonEnum" Create "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" and change its value to "1" for removing. Change its value to "0" for showing.


27. Show Windows version on desktop:
User Key:
"HKEY_CURRENT_USER\Control Panel\Desktop" Create a new DWORD " PaintDesktopVersion" and change its value to "1" for showing and "0" for removing.


28. Remove My documents from desktop:
Windows 95, 98 and Me "HKEY_CURRENT_USER\Software\Classes\CLSID\{450D8FB A-AD25-11D0-98A8-0800361B1103}\ShellFolder" Windows NT, 2000 and XP "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Explorer\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\ShellFolder" Modify the value called "Attributes" as "0xf0500174" to hide or "0xf0400174" to show.



29. Disable Scan disk after improper shutdown:
" HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\FileSystem" create a new DWORD "DisableScandiskOnBoot" and change its value to "01" for disablng and "00" for enabling.



30. Automatically end Hung programs:
" HKEY_CURRENT_USER\Control Panel\Desktop" and "System Key:
[HKEY_USERS\.DEFAULT\Control Panel\Desktop" Modify the value of "AutoEndTasks" to "1".

Friday, January 8, 2010

Create your own special characters in Windows XP

Create your own special characters in Windows XP

1. open the Run dialog box.

2. Type eudcedit in the Open text box and click OK.

3. When the Private Character Editor launches

4. create your characters.

5. When you finish, select the Save Character comma

6. open the Run dialog box.

7. Type charmap in the Open text box and click OK.

8. When the Character Map appears, select the Font drop-down list and select All Fonts

9. Select your character, click the Select button, and then click the Copy button.

You can now paste your font character into any document that you want.

Change My Computer Properties

Change My Computer Properties

Open notepad Now type the following text in notepad.
[General]
Manufacturer= Mohd. Arshi Khan
Model= SEO Expert
[Support Information]
Line1=My Computer Properties
Line2= Change My Computer Properties

Now save this notepad file in c: /windows/system32 folder with file name, OEMINFO.INI.
  1. Go to Desktop and Press F5 for Refresh
  2. Right click on My Computer and open Properties.

Thursday, January 7, 2010

WAP to calculate square root


/*WAP to calculate square root*/

import java.lang.*;
class sqrt
{
public static void main(String arg[])
{
double n,x;
x=4;
n = Math.sqrt(x);
System.out.println("Sqrt Root is "+ n);
}
}

WAP to calculate square


/*WAP to calculate square*/

import java.lang.*;
class sqr
{
int n,sqr;
sqr(int n1)
{
n=n1;
}
void calculate()
{
sqr=n*n;
}
void display()
{
System.out.println("squar=" + sqr);
}
}
class demo_sqr
{
public static void main(String arg[])
{
sqr s1=new sqr(3);
s1.calculate();
s1.display();
}
}

wap to construct rectengle class with "this" pointer


/*wap to construct rectengle class with "this" pointer*/

import java.lang.*;
class rectangle
{
int l,b;
rectangle(int a,int c)
{
this.l=a;

this.b=c;
}
void display()
{
System.out.println("length is="+l);
System.out.println("breadth is="+b);
}
}
class demo_thisrec
{
public static void main(String arg[])
{
rectangle r1=new rectangle(3,4);
r1.display();
}
}

wap to construct rectengle class


/*wap to construct rectengle class having data member breadth&
length & make constractor*/

import java.lang.*;
class rectangle
{
int l,b;
rectangle(int a,int c)
{
l=a;
b=c;
}
void display()
{
System.out.println("length is="+l);
System.out.println("breadth is="+b);
}
}
class demo_rectangle
{
public static void main(String arg[])
{
rectangle r1=new rectangle(3,4);
r1.display();
}
}

WAP to check no. is prime/not



/*WAP to check no. is prime/not*/

import java.lang.*;

class prime
{
int num,count;
prime(int num1)
{
num=num1;
count=0;
}
void calculate_prime()
{
for(int i=1;i {
if(num%i==0)
count++;
if(count>2)
break;
}
}
void display()
{
if(count>2)
System.out.println("not prime " + num);
else
System.out.println("prime " + num);
}
}


class demo_prime
{
public static void main(String arg[])
{
prime p1=new prime(5);
prime p2=new prime(21);

p1.calculate_prime();
p1.display();

p2.calculate_prime();
p2.display();
}
}

wap to calculate factorial


/*wap to calculate factorial*/

import java.lang.*;
class factorial
{
int num;
factorial(int a)
{
num=a;
}
int fact(int m)
{
if(m==0)
return(1);
else
return(m*fact(m-1));
}
void display()
{
int f;
f=fact(num);
System.out.println("factorial is="+f);
}
}
class demo_factorial
{
public static void main(String arg[])
{
factorial f1=new factorial(3);
f1.display();
}
}

Monday, January 4, 2010

Run Commands SHORTCUT KEYS for XP,Vista,Windows7

Run Commands SHORTCUT KEYS for XP,Vista,Windows7

 
  1. compmgmt.msc - Computer management
  2. devmgmt.msc - Device manager
  3. diskmgmt.msc - Disk management
  4. dfrg.msc - Disk defrag
  5. eventvwr.msc - Event viewer
  6. fsmgmt.msc - Shared folders
  7. gpedit.msc - Group policies
  8. lusrmgr.msc - Local users and groups
  9. perfmon.msc - Performance monitor
  10. rsop.msc - Resultant set of policies
  11. secpol.msc - Local security settings
  12. services.msc - Various Services
  13. msconfig - System Configuration Utility
  14. regedit - Registry Editor
  15. msinfo32 - System Information
  16. sysedit - System Edit
  17. win.ini - windows loading information(also system.ini)
  18. winver  -  Shows current version of windows
  19. mailto:  - Opens default email client
  20. command  - Opens command prompt
  21. appwiz.cpl - Add/Remove Programs control
  22. timedate.cpl - Date/Time Properties control
  23. desk.cpl - Display Properties control
  24. findfast.cpl - FindFast control
  25. fonts - Fonts Folder control
  26. inetcpl.cpl - Internet Properties control
  27. main.cpl - Mouse Properties control
  28. main.cpl keyboard - Keyboard Properties control
  29. mmsys.cpl - Multimedia Properties control
  30. netcpl.cpl - Network Properties control
  31. password.cpl - Password Properties control
  32. printers - Printers Folder control
  33. mmsys.cpl sounds - Sound Properties control
  34. sysdm.cpl - System Properties control

Sunday, January 3, 2010

WAP to check no. is armstrong/not


/*WAP to check no. is armstrong/not*/

import java.lang.*;
class arms
{
int num,i,rem,sum=0,status,b;
arms(int a)
{
num=a;
}
void calculate()
{
i=num;
while(i>0)
{
rem=i%10;
b=rem*rem*rem;
sum=sum+b;
i=i/10;
}
if(sum==num)
status=1;
else
status=0;
}
void display()
{
if(status==1)
System.out.println("ARMSTRONG"+sum);
else if(status==0)
System.out.println("not Armstrong"+sum);
}
}
class demo_arms
{
public static void main(String arg[])
{
arms a1=new arms(153);
a1.calculate();
a1.display();
}
}

WAP to check palendron


/*WAP to check palendron*/

import java.lang.*;
class palindrome
{
int num,i,rem,rev=0,status;
palindrome(int a)
{
num=a;
}
void calculate()
{

i=num;
while(i>0)
{
rem=i%10;
rev=rev*10+rem;
i=i/10;
}
if(num==rev)
status=1;

else
status=0;

}

void display()
{
if(status==1)
System.out.println("palindrome"+rev);
else if(status==0)
System.out.println("Not palindrome"+rev);
}
}
class demo_palendron
{
public static void main(String arg[])
{
palindrome p1=new palindrome(231);
p1.calculate();
p1.display();
}
}

WAP to check no. is even/odd


/*WAP to check no. is even/odd*/

import java.lang.*;

class evenodd
{
int num,status;
evenodd(int num1)
{
num=num1;
}
void calculate_evenodd()
{
if(num%2==0)
status=1;
else
status=0;
}
void display()
{
if(status==1)
System.out.println("no. is EVEN" + num);
else
System.out.println("no. is ODD" + num);
}
}


class demo_evenodd
{
public static void main(String arg[])
{
evenodd eo1=new evenodd(6);
evenodd eo2=new evenodd(21);

eo1.calculate_evenodd();
eo1.display();

eo2.calculate_evenodd();
eo2.display();
}
}

WAP to display welcome


/*WAP to display welcome*/

import java.lang.*;
class name
{
public static void main(String arg[])
{
System.out.println("WELCOME");
}
}

ADS

How to earn online

How to earn online:
Step - 1 :
signup for PayPal, to recieve your online earning
click here:
https://www.paypal.com/in/mrb/pal=CZ7224TZBMCBL
step - 2 : Singup these 4 sites & earn & enjoy! Read site to know how to earn.
1. trekpay
Earn up to $0.02 (2 cents) per click.
http://www.trekpay.com/?ref=34690
2. neobux
Earn up to $0.02 (2 cents) per click.
Click here:
http://www.neobux.com/?r=Moneyearner786

AddMe

Bookmark and Share