Fibonacci series is a series of nos.(0,1,1,2,3,5,8………so on) in which a new number is found by adding(+) up to 2 nos. before it for example 0+1=1, 1+1=2, 2+1=3, 3+2=5, 5+3=8…….)
If u want to read all the files in a folder .With this code(program)u can list all the files in a given((specific) for example e:\rekha) directory.
There are three ways for the Threads to communicate with each other.
Decimal number contains 10 digits(0-9) but Binary number contains two digits(0,1).
In Doubly linked list, we can store in each node not only the address of next node but also the address of the previous node in the linked list.
JApplet is a class that represents the Swing Applet. It is a subclass of Applet class and must extended by all the applets that use Swing.
Reversing a Linked list is the useful operation in which we change next to prev, prev to current and current to next.
Stack is LIFO(LAST IN FIRST OUT) linear data structure. It can have 2 operations 1)Push(add a new item) 2)Pop(delete an item).In this example I have shown how to reverse a string from last character to the first (example…..RAM OUTPUT IS MAR)
Queue Operations are......
1· Enqueue—Add an item(new item in back side) to the end of the queue.
2· Dequeue—Remove an item from the front.
3· Queue Front—Who is first?
4· Queueu End—Who is last?
Nested loop means loop within a loop one is inner loop(inside the body) and other is outer loop(two loops).Inner loop is placed inside outer loop.