Java Bangla Tutorials 147 : LinkedList (part-2)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Please design advance level JAVA course. Thanks for your great work.

delowerhossain
Автор

Notun 1ta jinish sikhlam..Thanks vaia :-D

afsanaahsanjeny
Автор

Sir linkedlist size er khetre count ki 1 theke array te 0 theke hoy

mdmynuddin
Автор

package oop;

import java.util.LinkedList;

public class LinkedListDemo {

public static void main(String[] args) {
LinkedList<String> countryname = new LinkedList<String>();
countryname.add("Pakistan");
countryname.add("India");


for (String country : countryname) {
System.out.println(country);
}
}

}

nishatsultana
Автор

package oop;

import java.util.LinkedList;

public class LinkedListDemo {

public static void main(String[] args) {
LinkedList<String> countryname = new LinkedList<String>();
countryname.add("Pakistan");
countryname.add("India");


for (String country : countryname) {
System.out.println(country);
}
System.out.println("size of linklist is : " + countryname.size());
}

}

nishatsultana