Search:

Type: Posts; User: arunchandy444@yahoo.com

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    532

    Re: Increment operator

    public class Stack1 {
    int stack_elements[] = new int[10];
    int top_element;
    Stack1() {
    top_element = -1;
    }
    void push (int i){
    if (top_element == 9)
    System.out.println("Stack is full");
    else
  2. Replies
    3
    Views
    532

    Increment operator

    public class Stack1 {

    int stack_elements[] = new int[10];
    int top_element;

    Stack1() {
    top_element = -1;
    }

    void push (int i){
Results 1 to 2 of 2