About us  |  Contact  |  Sitemap   

< ? php if (is_front_page()) { dynamic_content_gallery(); } ? >

JAVA

JAVA Program to implement Circular Queue using Array

December 24, 2011
Circular Queue

JAVA Program to implement Circular Queue using Array JAVA Program to implement Circular Queue using Array JAVA Program to implement Circular Queue using Array // To Implement Circular Queue Using Array import java.util.Scanner; public class CQueue { int a[]; int rear = 0; int front = 0; int count = 0; CQueue() { a = [...]

Continue Reading →

JAVA program to create Doubly Linked List

December 23, 2011
Thumbnail image for JAVA program to create Doubly Linked List

JAVA program to create Doubly Linked List JAVA program to create Doubly Linked List JAVA program to create Doubly Linked List // To Create Doubly Linked List import java.util.Scanner; class Node { Node next; Node prev; int data; void setData(int v) { data = v; } void setNext(Node n) { next = n; } int [...]

Continue Reading →

JAVA program to create single linked list

December 22, 2011
Singly Linked List

JAVA program to create single linked list JAVA program to create single linked list JAVA program to create single linked list   // To Create Single Linked List import java.util.Scanner; class Node { Node next; int data; void setData(int v) { data = v; } void setNext(Node n) { next = n; } int getData() [...]

Continue Reading →

Sort a list of strings LEXICOGRAPHICALLY/ALPHABETICALLY

June 23, 2011
Thumbnail image for Sort a list of strings LEXICOGRAPHICALLY/ALPHABETICALLY

Sorting a list of strings LEXICOGRAPHICALLY/ALPHABETICALLY means that this program will sort a list of strings in a string array like they appear in the DICTIONARY so that it is easy to search any word by checking it alphabetically as we do it in a pocket dictionary. This algorithm helps in developing applications like dictionary, [...]

Continue Reading →

JAVA program to capitalize first alphabet of each word in a sentence

June 23, 2011
JAVA Programs

This is a JAVA program which will capitalize first alphabet of each word in a sentence. (For example : If the entered sentence is all the best, the output will be All The Best ) Here is the program : import java.util.*; class p6 { public static void main(String args[]) { String str = new [...]

Continue Reading →