Skip to main content

Featured

Game Development Tutorials In Android

Game Development Tutorials In Android Hi Guys,                 We are shortly started Game Development Tutorials in Android Studio. So everyone supports me and share this blogs to your friends. Guys, At this time everyone is freely available to source code and we are provide a video for step by step game developments. you are learn free and feel free to support us. Guys, if you have any question to me, so feel free to comment us. I will try to answer all the question as long as possible.                                                     Thank's                                                                          ...

List Test Example Program In Java

List Test Example Program In Java

In this example, we will discuss an important program in Java Programming Language, List is another important part of java. Today's I show you where to use this program in Java.

So, Before we are going to developed List program in java, just click on the advertisement , available on this page.

Now Let's Start : 

                                                       "Listtest.java"

import java.util.*;
public class Listtest{


public static void main(String arg[])
{

Hashtable<String,String> ob=new Hashtable<String,String>();

ob.put("Balwant",new String("1234567890"));
ob.put("Himani",new String("0123456789"));
Set<String> key=ob.keySet();

//stem.out.println(ob);
for(String value:key)
{
System.out.println(value+" :"+ob.get(value));


}
/*
Iterator<String> it=ob.iterator();
while(it.hasNext())
{
Object name=it.next();
System.out.println("Name:"+name);
}
*/

}
}

Compile And Run on this Program for Better Understanding.

If this information is important to you , and you want to , I will continue writing some more details of Java, Android Programming Language, so click on the advertising, available on this page. This is motivate me for writing some more useful stuff, Thank's 

Comments