myTechpartner Join Me On Facebook
Join Me On Facebook

Blogroll

Sunday, 7 April 2013

Java JDK Installation & Path setting

jdk-6-windows-i586.exe installation step:

First all of you must download the  jdk-6-windows-i586.exe
you can download this from here:    images1
After downloading
1. run jdk-6-windows-i586.exe
2. After completion of installation
3. path setting for jdk
4. go to C:\Program Files (x86)\Java
5.copy the location  C:\Program Files (x86)\Java\jdk1.6.0\lib
1)right click on my computer select properties     2)  click Advance system setting                                       3)  click   Environment variables
image                      image                     image

4) click new                                                                           5) Type like as below and paste link                                       6) ok
image                            image

7)  also set path                                                           8) ok      9)  ok
image

10) Open cmd  and type javac
          image
11) successfully set java path in your systemOpen-mouthed smile

Linear search

import java.io.*;
class linear
{
public static void main(String arg[]) throws Exception
{
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  System.out.println("How many elements");
  int n=Integer.parseInt(br.readLine());
  int a[]=new int[n];
  System.out.println("Enter the elements");
  for(int i=0;i<n;i++)
    {
     a[i]=Integer.parseInt(br.readLine());
    } 
  System.out.println("The array is:");
  for(int i=0;i<n;i++)
  {
   System.out.println(a[i]);
  }
  System.out.println("Enter the element to be search");
     int k=0;
     int j=Integer.parseInt(br.readLine());
     for(int i=0;i<n;i++)
     {
      if(a[i]==j)
       k++;
     }
    
     if(k==0)
      System.out.println("Not found");
     else
      System.out.println("Found");
}
}
Follow this step to compile and run your code in CMD
1.Copy this and paste it into notepad and save this as class name(here linear) with extension .java      :- linear.java
  Remember where this file you save.
2. Open cmd and go to the folder ,file that you save linear.java
3.Type    javac linear.java       eg:-D:\ajith_er\labjava>javac linear.java
  if any error that will print on screen
4. then type      java linear     eg:-D:\ajith_er\labjava>java linear
now your program will be start to execute
If any help email me my id: ajitheredacheril@hotmail.com or ajither.9@gmail.com                                                                                                                                                                                                            by :- aer

Saturday, 6 April 2013

Java

Here am introducing not a core java program it only sample programs based on various
data structure in Java .I hope that all of you following this.
Sample programs:
1. Searching
2.sorting
3.Linked list
4.Stack
5.Queue
6.Tree
7.Graph


Will be published soon Stay for new updates

Thursday, 4 April 2013

Java Code

 

Coming  soon Java Coding

 

 

Java    

images

  import java.io.*;

class hello

  {

     public static void main(String arg[])

      {

           System.out.println(“Hello”);

      }

}

Output: Hello

Tuesday, 2 April 2013

Share Content

Share Content
A new feature add to Office 13 that is a share content in the log on page, This contains 1. Invite peoples 2. Email 3. Present Online 4. Post to blog clip_image002 1) Invite People Step 1: Save your document to a SkyDrive location Step 2: Share your document. We’ll do this after you’ve finished saving. clip_image004 2) Email clip_image006 3) Present Online clip_image008 4) Post to Blog clip_image010















Live with Office 13

image 
Just a one click to create  any document  ,more than 30 templates are already loaded with this version that are needed for your
work. And more templates are available on online they load  when you connected to the internet.
 image

Templates(Along with Office 13)
1. Blank document                        2. Adjacency Letter           3. Adjacency Merge Letter               4. Adjacency Report 
5. Adjacency Resume                  6. Apothecary Letter        7. Apothecary Merge Letter             8. Apothecary Newsletter
9. Apothecary Resume               10. Black Tie Letter            11. Black Tie Merge Letter                12. Black Tie Newsletter
13. Black Tie Resume                   14. Chronological letter   15. Chronological Resume                16. Equity Fax
17. Equity Letter                             18. Equity Merge Fax         19. Equity Merge Letter                     20. Equity Report

Monday, 1 April 2013

Amazing new look of MS OFFICE 2013

ppt                                               w1                               xl1                          
MS Office 2013 released ,it much user friendly than all other previews versions of MS Office .Download Here  image
Great better look than older versions, Easy to accesses and handle. Your office experience can be improved by this version . 
Starting page of new Office

word
Technorati Tags: ,,,,

 
logo2
                                                                                                                                                                                                                                                                                                                                                                                             

 

Contributors

Online Marketing

Do you Like this Article?

rss twitter facebook