Hi Friends
After Writing Java Program, u can run it from notepad++ directly. Simple u just fallow the steps as shown below:
Step1:Write the java program and save it.

Step2: Select Run in the menu and select Open Current dir cmd as shown below

Setp3 : Then on cmd window will open and type commands as fallow:

G:\company\java programs>javac CharIndex.java
G:\company\java programs>java CharIndex
Enter your String:
Power Star
Entered String are:Power Star
After Writing Java Program, u can run it from notepad++ directly. Simple u just fallow the steps as shown below:
Step1:Write the java program and save it.
Step2: Select Run in the menu and select Open Current dir cmd as shown below
Setp3 : Then on cmd window will open and type commands as fallow:
G:\company\java programs>javac CharIndex.java
G:\company\java programs>java CharIndex
Enter your String:
Power Star
Entered String are:Power Star
No comments:
Post a Comment