Heading

Monday, December 23, 2013

Technical Assistants


SOCIETY FOR RURAL DEVELOPMENT SERVICES

OFFICE OF THE COMMISSIONER: RURAL DEVELOPMENT

H.No. 5-10-192, 2nd & 5th Floors, HUDA Hermitage Office Complex,

Hill Fort Road, Saifabad, Hyderabad-500004, Tel. No:040-23292021


NOTIFICATION

Lr.No.224/SRDS/ SPM-HR/2013
Dated:12-12-2013
  1. The Society for Rural Development Services, O/o CRD, Hyderabad seeks applications to work as Technical Assistants in MGNREG scheme under Rural Development Department on contract basis. The candidate shall be willing to work in any mandal in their native districts.
  2. The candidate should have passed:
    • Diploma in Civil Engineering, or
    • Diploma in Agriculture, or
    • Diploma in Horticulture, or
    • B.Sc (Mathematics, Physics and Chemistry), or
    • B.Sc (Sericulture).
    and studied regular course from any recognized institutions in Andhra Pradesh
  3. Candidates possessing qualification acquired through Distance mode are not eligible to apply.
  4. Candidates age shall be between 18-35 yrs as on the date of this notification. Age relaxation of 5 yrs in case of SC/ST/BC/PWD is applicable.
  5. The eligible candidates will be kept in waiting list for a period of one year from the date of issue of this notification and will be considered for appointment as per merit (i.e., marks obtained in their qualifying examination) as Technical Assistants in MGNREG scheme on contract basis whenever vacancies are available.
  6. Rule of reservation in appointment as per Government norms will be followed.
  7. Applications shall be made online at the Website address: http://www.rdhrms.ap.gov.in and shall be submitted on or before 5.00 p.m 28.12.2013. 
  8. Sd/-Shashi Bhushan Kumar,
    CEO, SRDS 
     
 For More Details visit:

http://www.rdhrms.ap.gov.in/HRMS/JobApplications/showjobsublinks.jsp#

Monday, December 9, 2013

Application for the post of Project Officers in RD HRMS

SOCIETY FOR RURAL DEVELOPMENT SERVICES

OFFICE OF THE COMMISSIONER: RURAL DEVELOPMENT

H.No. 5-10-192, 2nd & 5th Floors, HUDA Hermitage Office Complex,

Hill Fort Road, Saifabad, Hyderabad-500004, Tel. No:040-23292021


Lr.No. 1142/SRDS/ PM-HR-I/2013

Dated:29-11-2013
  1. The Society for Rural Development Services, O/o CRD, Hyderabad seeks applications from the eligible candidates for appointment to the posts in IWMP scheme under Rural Development Department on contract basis as given below: 
  2. Project Officer:- The candidates possessing B.Tech (Agri.Engg)/B.Sc (Agri) B.Sc (CA & BM)/ B.Sc(Horti) of for local candidates of Andhra and Rayalaseema districts may apply online.
  3. (a). For details and online application please visit the website http // www.rdhrms.ap.gov.in. (b). The Candidates must have studied in regular mode and the candidates studied in the distance mode are not eligible. (c). Age of the candidates shall be between 18-30 years and relax able for SC/ST/BC/PWD up to 5 years i.e 35 years as on the date of notification. (d). Rule of Reservation is applicable as per Govt norms. (e). Names of Eligible candidates will be kept in waiting list for one year from the date of notification and posting orders will be issued as and when vacancies arise in that year as per merit and communal roster points. Applications shall be made online on or before 5.00 p.m 14-12-2013.

For More Details Visit:
http://www.rdhrms.ap.gov.in/HRMS/FrontServlet?requestType=JobAppRH
http://www.rdhrms.ap.gov.in/HRMS/index.jsp

Saturday, November 30, 2013

India National Pledge

If u not able to view clearly, Click on the Image to view Clear. or Download this image. which Every Indian Should Remember this.

Wednesday, November 20, 2013

Sorting Employee based on Name of the Employee using collections in java

package CollectionsExamples;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Employee1 {
    private int id;
    private String name;
    private int age;
  
    public Employee1(int id,String name,int age) {
        this.age = age;
        this.id = id;
        this.name = name;
    }
    public int getId() {
        return id;
    }
    /*public void setId(int id) {
        this.id = id;
    }*/
    public String getName() {
        return name;
    }
    /*public void setName(String name) {
        this.name = name;
    }*/
    public int getAge() {
        return age;
    }
    /*public void setAge(int age) {
        this.age = age;
    }*/
    @Override
    public String toString() {
        // TODO Auto-generated method stub
        return id+" "+name+" "+age;
    }
    public static void main(String[] args) {
        // TODO Auto-generated method stub
List<Employee1> li=new ArrayList<Employee1>();
Employee1 e=new Employee1(9,"chaitu",26);
Employee1 e1=new Employee1(2,"mahesh",22);
Employee1 e2=new Employee1(8,"vinay",28);
Employee1 e3=new Employee1(6,"ravi",16);
li.add(e);
li.add(e1);
li.add(e2);
li.add(e3);
li.add(new Employee1(7,"Ajay",24));
li.add(new Employee1(7,"bala",24));
System.out.println(li);
Collections.sort(li, new MyComparator1());
System.out.println(li);

    }
  
}

________________________

package CollectionsExamples;

import java.util.Comparator;


public class MyComparator1 implements Comparator<Employee1> {

    public int compare(Employee1 o1, Employee1 o2) {
       
        String name1=o1.getName();
        String name2=o2.getName();
        return name1.compareTo(name2);
    }

}

Sorting List with collection of Strings in Java

Sorting String List using Collections Sort Behaviour

package collections;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class CollectionSortExample {

    public static void main(String[] args) {

    List<String> li=new ArrayList<String>();
    li.add("pavan");
    li.add("ravi");
    li.add("chaitu");
    li.add("basha");
    li.add("vasu");
    li.add("shami");
    System.out.println("Before Sorting List:    "+li);
    Collections.sort(li);
    System.out.println("\nAfter Sorting the List:"+li);
   
    }
}
O/P:
Before Sorting List:    [pavan, ravi, chaitu, basha, vasu, shami]

After Sorting the List:[basha, chaitu, pavan, ravi, shami, vasu]

Converting a number into single Digit

public class SingleNumber  {
public void m1()
{
System.out.println("hai");
}
    public static void main(String[] args) {
        int num=99998,sum=0;
        while(num>9)
        {
             sum=0;
            while(num!=0)
            {
            int r=num%10;
            sum=sum+r;
            num=num/10;
            }
               num=sum;
        }   
        System.out.println(sum);
        }
    }

Save and run this program u will get out put as shown below:

8

Sorting an Array in java

package collections;

import java.util.Arrays;

public class ArraySortExample {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        int[] i={10,6,8,25,99,100};
        System.out.println("Before Sorting:");
        for(int j:i)
            System.out.print(j+" ");
        Arrays.sort(i);
        System.out.println("\n After Sorting:");
        for(int k=0;k<i.length;k++)
            System.out.print(i[k]+" ");
    }

}

O/P:
Before Sorting:
10 6 8 25 99 100
 After Sorting:
6 8 10 25 99 100

panchayat secretary recruitment 2013



Saturday, October 26, 2013

Sorting Element of list using Comparable interface

  Here is an Example to sort list of added objects to an array list using Comparable  interface.
  import java.util.ArrayList;
    import java.util.Collections;

    public class Sort1 implements Comparable<Object>
    {
    int age;
    String name;
    Sort1(int age,String name)
    {
        this.age=age;
        this.name=name;
    }
    public String toString()
    {
        return "age:" +age+" "+ "name:" +name;
    }
    public int compareTo(Object o)
    {
        return ((Sort1)o).age-age;
    }
    public static void main(String[] args)
    {
        ArrayList<Sort1> list=new ArrayList<Sort1>();
        list.add(new Sort1(60,"byz"));
        list.add(new Sort1(10,"xbc"));
        list.add(new Sort1(20,"ahaitu"));
        Collections.sort(list);
        System.out.println(list);
      
      
    }
    }

Comparing Objects Added to list

Hi Friends



Here we are comparing added objects to list using  Comparator Interface.For this First declare the Employee class as shown below:



import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Employee1 {
    private int id;
    private String name;
    private int age;
 
    public Employee1(int id,String name,int age) {
        //super();
        this.age = age;
        this.id = id;
        this.name = name;
    }
    public int getId() {
        return id;
    }
    /*public void setId(int id) {
        this.id = id;
    }*/
    public String getName() {
        return name;
    }
    /*public void setName(String name) {
        this.name = name;
    }*/
    public int getAge() {
        return age;
    }
    /*public void setAge(int age) {
        this.age = age;
    }*/
    @Override
    public String toString() {
        // TODO Auto-generated method stub
        return id+" "+name+" "+age;
    }
    public static void main(String[] args) {
        // TODO Auto-generated method stub
List<Employee1> li=new ArrayList<Employee1>();
Employee1 e=new Employee1(9,"chaitu",26);
Employee1 e1=new Employee1(2,"mahesh",22);
Employee1 e2=new Employee1(8,"vinay",28);
Employee1 e3=new Employee1(6,"ravi",16);
li.add(e);
li.add(e1);
li.add(e2);
li.add(e3);
Collections.sort(li, new MyComparator1());
System.out.println(li);

    }
 
}

Then write the MyComparator1 Class  as shown below

import java.util.Comparator;


public class MyComparator1 implements Comparator<Employee1> {

    @Override
    public int compare(Employee1 o1, Employee1 o2) {
        // TODO Auto-generated method stub
        if(o1.getAge()>o2.getAge())
        return -1;
        else if(o1.getAge()<o2.getAge())
         
            return 1;
        else
        return 0;
        /*if(o1.getId()>o2.getId())
            return 1;
            else if(o1.getId()<o2.getId())
                return -1;
            else
            return 0;*/
    }

}

Now see this results your requirement.

Here it return results based on age in ascending order.

Wednesday, October 23, 2013

Singleton Example in java


public class Singleton {

    /**
     * @param args
     */
    private  static Singleton instance;
    private Singleton()
    {
       
    }
    public static Singleton createInstance()
    {
        if(instance==null)
        {
            instance=new Singleton();
        }
        return instance;
    }
    public static void main(String[] args) {
       
// TODO Auto-generated method stub
Singleton s1=Singleton.createInstance();
Singleton s2=Singleton.createInstance();
Singleton s3=Singleton.createInstance();
System.out.println(s1+ " "+s2+" "+s3);
    }

}

Saturday, October 19, 2013

Adding 2 Arrays

public class ArrayAddition {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
int[] a={1,2,3};
int[] b={2,3,4};
int[] c=new int[a.length];
    for (int i = 0; i < a.length; i++)
    {
        for (int j = 0; j < b.length; j++)
        {
            if(i==j)
            {
                c[i]=a[i]+b[j];
                System.out.print(c[i]+" ");
            }
        }
    }
 }
}

Wednesday, September 25, 2013

Adding Image to Text Box

<html>
<head>
<style type="text/css">
        .tbl1
        {
            background: #FFFFFF url(button.gif) no-repeat 4px 4px ;
            padding: 4px 4px 4px 22px;
            height: 25px;
            background-position:right;
        }
    </style>
</head>
<body>
 <div>
        <input type="text" class="tbl1"/>
 
 </div>
</body>
<html>

Output:

Hiding TextField When Radio Button Selected Using JQUERY



<html>
<head>
<title>infoatyou.blogspot.com</title>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>

<script>
$(document).ready(function(){
$(".radioBtn").click(function() {
    $("#textField1").show();
    if ($("input[name=ynRadio]:checked").val() == "yes") {
        $("#textField1").hide();
        }
  }); 
});



</script>
</head>
<body>
<form name="search" action="">
<table align="center" border="0">
<caption><span style="color:Blue">Searching Results</span></caption>
<tr>
<td><input type="radio" name="ynRadio" class="radioBtn" value="yes" />One Way</td>
<td><input type="radio" name="ynRadio" class="radioBtn" value="no" checked="checked" /> Two Way</td></tr>
<tr><td colspan="2"><input type="text" id="textField"  placeholder="Choose your Source" size="35"/></td></tr>
<tr><td colspan="2"><input type="text" id="textField"  placeholder="Choose your Destination" size="35"/></td></tr>
<tr><td colspan="2"><input type="text" id="textField"  placeholder="Date of Journey: DD/MM/YY" size="35"/></td></tr>
<tr><td colspan="2"><input type="text" id="textField1"  placeholder="Return Date: DD/MM/YY" size="35"/></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="Search"></td></tr>
<table>
</form>
</body>
</html>


Output: 
 
When Selected: