<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Java program to sort a given list of names in ascending order	</title>
	<atom:link href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Wed, 30 Sep 2015 15:23:13 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>
		By: mahi		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-134056</link>

		<dc:creator><![CDATA[mahi]]></dc:creator>
		<pubDate>Wed, 30 Sep 2015 15:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-134056</guid>

					<description><![CDATA[some one help me I am unable to see the entire code of string sorting]]></description>
			<content:encoded><![CDATA[<p>some one help me I am unable to see the entire code of string sorting</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: KAMATI TANGENI SHISHANI		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-124214</link>

		<dc:creator><![CDATA[KAMATI TANGENI SHISHANI]]></dc:creator>
		<pubDate>Sat, 15 Aug 2015 07:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-124214</guid>

					<description><![CDATA[In case the array is compose of arrays of different data type, here is go about if. I hope it will you
================================================================================================================


package exercise4_test;
import java.util.Scanner;
/**
 *
 * @author Tangeni Kamati
 */
public class Exercise4_Test {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Scanner kbd=new Scanner(System.in);
        String stName;
        int test1Marks;
        int test2Marks;
        int test3Marks;
        double ave;
        /*Student[] std;
        std = new Student(stName,test1Marks,test2Marks,test3Marks,ave);*/
        Student[] std;
        std = new Student[3];
        
        for(int r=0;r&#060;std.length;r++){
            System.out.println(&#034;Enter the name :&#034;);
            stName=kbd.nextLine();
            System.out.println(&#034;Enter marks for test 1:&#034;);
            test1Marks=kbd.nextInt();
            System.out.println(&#034;Enter marks for test 2:&#034;);
            test2Marks=kbd.nextInt();
            System.out.println(&#034;Enter marks for test 3:&#034;);
            test3Marks=kbd.nextInt();
            String kk=kbd.nextLine();
            ave=(test1Marks+test2Marks+test3Marks)/3;   
            std[r]=new Student(stName,test1Marks,test2Marks,test3Marks,ave);
        }
        System.out.println(&#034;Enter the name to to see if is in the list:&#034;);
        String EnteredName=kbd.nextLine();
        String NameFound=&#034;&#034;;
        for(int f=0;f&#060;std.length;f++){
            
            if((std[f].getName().equals(EnteredName))){
                System.out.println(&#034;The name &#034;+std[f].getName()+&#034; was found.\nTest 1: &#034;+std[f].getTest1()+&#034;\nTest 2: &#034;+std[f].getTest2()+&#034;\nTest 3: &#034;+std[f].getTest3()+&#034;\nAverage: &#034;+std[f].getAverage());
                NameFound=&#034;&#034;;
                break;
            }
            else{
                NameFound=&#034;Name not found.&#034;;
            }                      
        }
        System.out.println(NameFound);
        Student inst=new Student();

        for(int k=0;k&#060;std.length;k++){
            
            for(int l=k+1;l&#060;std.length;l++){
                if(std[l].getName().compareToIgnoreCase(std[k].getName())&#060;0){
                    inst=std[k];
                    std[k]=(std[l]);
                    std[l]= inst;
                    
                    
                }
            }
        }
        for(int p=0;p&#060;std.length;p++){
            std[p].toString();
        }
    }
    
}]]></description>
			<content:encoded><![CDATA[<p>In case the array is compose of arrays of different data type, here is go about if. I hope it will you<br />
================================================================================================================</p>
<p>package exercise4_test;<br />
import java.util.Scanner;<br />
/**<br />
 *<br />
 * @author Tangeni Kamati<br />
 */<br />
public class Exercise4_Test {</p>
<p>    /**<br />
     * @param args the command line arguments<br />
     */<br />
    public static void main(String[] args) {<br />
        Scanner kbd=new Scanner(System.in);<br />
        String stName;<br />
        int test1Marks;<br />
        int test2Marks;<br />
        int test3Marks;<br />
        double ave;<br />
        /*Student[] std;<br />
        std = new Student(stName,test1Marks,test2Marks,test3Marks,ave);*/<br />
        Student[] std;<br />
        std = new Student[3];</p>
<p>        for(int r=0;r&lt;std.length;r++){<br />
            System.out.println(&quot;Enter the name :&quot;);<br />
            stName=kbd.nextLine();<br />
            System.out.println(&quot;Enter marks for test 1:&quot;);<br />
            test1Marks=kbd.nextInt();<br />
            System.out.println(&quot;Enter marks for test 2:&quot;);<br />
            test2Marks=kbd.nextInt();<br />
            System.out.println(&quot;Enter marks for test 3:&quot;);<br />
            test3Marks=kbd.nextInt();<br />
            String kk=kbd.nextLine();<br />
            ave=(test1Marks+test2Marks+test3Marks)/3;<br />
            std[r]=new Student(stName,test1Marks,test2Marks,test3Marks,ave);<br />
        }<br />
        System.out.println(&quot;Enter the name to to see if is in the list:&quot;);<br />
        String EnteredName=kbd.nextLine();<br />
        String NameFound=&quot;&quot;;<br />
        for(int f=0;f&lt;std.length;f++){</p>
<p>            if((std[f].getName().equals(EnteredName))){<br />
                System.out.println(&quot;The name &quot;+std[f].getName()+&quot; was found.\nTest 1: &quot;+std[f].getTest1()+&quot;\nTest 2: &quot;+std[f].getTest2()+&quot;\nTest 3: &quot;+std[f].getTest3()+&quot;\nAverage: &quot;+std[f].getAverage());<br />
                NameFound=&quot;&quot;;<br />
                break;<br />
            }<br />
            else{<br />
                NameFound=&quot;Name not found.&quot;;<br />
            }<br />
        }<br />
        System.out.println(NameFound);<br />
        Student inst=new Student();</p>
<p>        for(int k=0;k&lt;std.length;k++){</p>
<p>            for(int l=k+1;l&lt;std.length;l++){<br />
                if(std[l].getName().compareToIgnoreCase(std[k].getName())&lt;0){<br />
                    inst=std[k];<br />
                    std[k]=(std[l]);<br />
                    std[l]= inst;</p>
<p>                }<br />
            }<br />
        }<br />
        for(int p=0;p&lt;std.length;p++){<br />
            std[p].toString();<br />
        }<br />
    }</p>
<p>}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Diabetic Shoes Long Beach		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-55430</link>

		<dc:creator><![CDATA[Diabetic Shoes Long Beach]]></dc:creator>
		<pubDate>Wed, 03 Dec 2014 17:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-55430</guid>

					<description><![CDATA[The body will defer to its normal habits and patterns of 
movement. Plantar Fasciitis - For these that have questioned wht iss Plantar Fasciitis,
the response may well be surprising. The processs has 
a few seconds annd is also very painful.]]></description>
			<content:encoded><![CDATA[<p>The body will defer to its normal habits and patterns of<br />
movement. Plantar Fasciitis &#8211; For these that have questioned wht iss Plantar Fasciitis,<br />
the response may well be surprising. The processs has<br />
a few seconds annd is also very painful.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-52871</link>

		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Wed, 26 Nov 2014 15:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-52871</guid>

					<description><![CDATA[Can you help me with MFC programs]]></description>
			<content:encoded><![CDATA[<p>Can you help me with MFC programs</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-52870</link>

		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Wed, 26 Nov 2014 15:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-52870</guid>

					<description><![CDATA[Thank you for the Java Sorting Program. As a beginner, it sorted out one of my issues.]]></description>
			<content:encoded><![CDATA[<p>Thank you for the Java Sorting Program. As a beginner, it sorted out one of my issues.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: awfully		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-41215</link>

		<dc:creator><![CDATA[awfully]]></dc:creator>
		<pubDate>Fri, 24 Oct 2014 06:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-41215</guid>

					<description><![CDATA[The significance of toys in today&#039;s world is no less than a unique plaything just for fun and enjoyable means of 
the young life in human society. Kids can learn that 
the cycle toy is used not simply for driving but also for keeping body and mind healthy 
and fit. Nerf video game With younger children, you don&#039;t have to spend 
a good deal of money with regards to buying childrens 
toys, they&#039;ll be pleased with almost anything since the globe is pretty new to them.


If the markings are removed, policemen can mistake a toy gun for 
the real gun. They give a wide range of age-specific brands to choose 
from including safe and quality wooden toys.]]></description>
			<content:encoded><![CDATA[<p>The significance of toys in today&#8217;s world is no less than a unique plaything just for fun and enjoyable means of<br />
the young life in human society. Kids can learn that<br />
the cycle toy is used not simply for driving but also for keeping body and mind healthy<br />
and fit. Nerf video game With younger children, you don&#8217;t have to spend<br />
a good deal of money with regards to buying childrens<br />
toys, they&#8217;ll be pleased with almost anything since the globe is pretty new to them.</p>
<p>If the markings are removed, policemen can mistake a toy gun for<br />
the real gun. They give a wide range of age-specific brands to choose<br />
from including safe and quality wooden toys.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: support.ardyss.net		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-33883</link>

		<dc:creator><![CDATA[support.ardyss.net]]></dc:creator>
		<pubDate>Wed, 08 Oct 2014 19:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-33883</guid>

					<description><![CDATA[A commercial pressure washer is employed for 
selection of purpose with a daily basis for many cleaning tasks.
As tagged by NASA&#039;s Glenn Research Center, the middle of gravity is &quot;the average location from the weight with the object.
If you don&#039;t desire to completely depend upon drying sensors, then you definitely should make certain your dryer has timer settings on it. However, there is much more occurring inside of this &quot;machine&quot; than merely wetting and rinsing your clothing.]]></description>
			<content:encoded><![CDATA[<p>A commercial pressure washer is employed for<br />
selection of purpose with a daily basis for many cleaning tasks.<br />
As tagged by NASA&#8217;s Glenn Research Center, the middle of gravity is &#8220;the average location from the weight with the object.<br />
If you don&#8217;t desire to completely depend upon drying sensors, then you definitely should make certain your dryer has timer settings on it. However, there is much more occurring inside of this &#8220;machine&#8221; than merely wetting and rinsing your clothing.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: omaha attorney		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-30911</link>

		<dc:creator><![CDATA[omaha attorney]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 08:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-30911</guid>

					<description><![CDATA[A Department of Defense study found that nearly 70% oof junilr military members 
who had taken out military auto loans in the past year had been the victim to some form of unethical lender or dealer tactics.
If the police aree called, chargs may be ade against 
both the parties. Keep in mind, taxes ddo not need to be due 
noor does the transaction have to be proven illegal or illegitimate ffor this penalty to apply.]]></description>
			<content:encoded><![CDATA[<p>A Department of Defense study found that nearly 70% oof junilr military members<br />
who had taken out military auto loans in the past year had been the victim to some form of unethical lender or dealer tactics.<br />
If the police aree called, chargs may be ade against<br />
both the parties. Keep in mind, taxes ddo not need to be due<br />
noor does the transaction have to be proven illegal or illegitimate ffor this penalty to apply.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nasureedheen		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-29214</link>

		<dc:creator><![CDATA[Nasureedheen]]></dc:creator>
		<pubDate>Sat, 27 Sep 2014 06:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-29214</guid>

					<description><![CDATA[package com.imatrix;
import java.util.*;
public class NameAscending{
	int i=0;
	String temp=&quot;&quot;;
	String[] stringArray;

	public void string() throws Exception
	{ 
		Scanner stringS = new Scanner(System.in);
		System.out.println(&quot;How Many Number you Want to Enter&quot;);
		i = stringS.nextInt();
		stringArray=new String[i];

		for(int i=0;i&quot;);
			Scanner integer2 = new Scanner(System.in);
			stringArray[i]=integer2.nextLine();
		}
		for(int i=0;i&#060;stringArray.length;i++)
		{
			for(int j=i+1;j0)
				{
					temp=stringArray[i];
					stringArray[i]=stringArray[j];
					stringArray[j]=temp;
				}
			}
		}
		System.out.println(&quot;Sorted order is&quot;);

		for(int j=0;j&#060;stringArray.length;j++)
		{
				System.out.println(stringArray[j]);
		}
	}

	public static void main(String[] args) throws Exception
	{
		NameAscending  objArrayEx=new NameAscending();
		objArrayEx.string();

	}
}]]></description>
			<content:encoded><![CDATA[<p>package com.imatrix;<br />
import java.util.*;<br />
public class NameAscending{<br />
	int i=0;<br />
	String temp=&#8221;&#8221;;<br />
	String[] stringArray;</p>
<p>	public void string() throws Exception<br />
	{<br />
		Scanner stringS = new Scanner(System.in);<br />
		System.out.println(&#8220;How Many Number you Want to Enter&#8221;);<br />
		i = stringS.nextInt();<br />
		stringArray=new String[i];</p>
<p>		for(int i=0;i&#8221;);<br />
			Scanner integer2 = new Scanner(System.in);<br />
			stringArray[i]=integer2.nextLine();<br />
		}<br />
		for(int i=0;i&lt;stringArray.length;i++)<br />
		{<br />
			for(int j=i+1;j0)<br />
				{<br />
					temp=stringArray[i];<br />
					stringArray[i]=stringArray[j];<br />
					stringArray[j]=temp;<br />
				}<br />
			}<br />
		}<br />
		System.out.println(&#8220;Sorted order is&#8221;);</p>
<p>		for(int j=0;j&lt;stringArray.length;j++)<br />
		{<br />
				System.out.println(stringArray[j]);<br />
		}<br />
	}</p>
<p>	public static void main(String[] args) throws Exception<br />
	{<br />
		NameAscending  objArrayEx=new NameAscending();<br />
		objArrayEx.string();</p>
<p>	}<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nasureedheen		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-to-sort-a-given-list-of-names-in-ascending-order/comment-page-1/#comment-29212</link>

		<dc:creator><![CDATA[Nasureedheen]]></dc:creator>
		<pubDate>Sat, 27 Sep 2014 06:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=856#comment-29212</guid>

					<description><![CDATA[package com.imatrix;
import java.util.*;
public class ArrayEx {
	int i=0;
	String temp=&quot;&quot;;
	String[] stringArray;

	public void string() throws Exception
	{ 
		Scanner stringS = new Scanner(System.in);
		System.out.println(&quot;How Many Number you Want to Enter&quot;);
		i = stringS.nextInt();
		stringArray=new String[i];

		for(int i=0;i&quot;);
			Scanner integer2 = new Scanner(System.in);
			stringArray[i]=integer2.nextLine();
		}
		for(int i=0;i&#060;stringArray.length;i++)
		{
			for(int j=i+1;j0)
				{
					temp=stringArray[i];
					stringArray[i]=stringArray[j];
					stringArray[j]=temp;
				}
			}
		}
		System.out.println(&quot;Sorted order is&quot;);

		for(int j=0;j&#060;stringArray.length;j++)
		{
				System.out.println(stringArray[j]);
		}
	}

	public static void main(String[] args) throws Exception
	{
		ArrayEx objArrayEx=new ArrayEx();
		objArrayEx.string();

	}
}]]></description>
			<content:encoded><![CDATA[<p>package com.imatrix;<br />
import java.util.*;<br />
public class ArrayEx {<br />
	int i=0;<br />
	String temp=&#8221;&#8221;;<br />
	String[] stringArray;</p>
<p>	public void string() throws Exception<br />
	{<br />
		Scanner stringS = new Scanner(System.in);<br />
		System.out.println(&#8220;How Many Number you Want to Enter&#8221;);<br />
		i = stringS.nextInt();<br />
		stringArray=new String[i];</p>
<p>		for(int i=0;i&#8221;);<br />
			Scanner integer2 = new Scanner(System.in);<br />
			stringArray[i]=integer2.nextLine();<br />
		}<br />
		for(int i=0;i&lt;stringArray.length;i++)<br />
		{<br />
			for(int j=i+1;j0)<br />
				{<br />
					temp=stringArray[i];<br />
					stringArray[i]=stringArray[j];<br />
					stringArray[j]=temp;<br />
				}<br />
			}<br />
		}<br />
		System.out.println(&#8220;Sorted order is&#8221;);</p>
<p>		for(int j=0;j&lt;stringArray.length;j++)<br />
		{<br />
				System.out.println(stringArray[j]);<br />
		}<br />
	}</p>
<p>	public static void main(String[] args) throws Exception<br />
	{<br />
		ArrayEx objArrayEx=new ArrayEx();<br />
		objArrayEx.string();</p>
<p>	}<br />
}</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
