User Profile

Collapse

Profile Sidebar

Collapse
javasuniltyata
javasuniltyata
Joined: Jan 17 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Need Help to get value of selected item from Select Dropdown list in cfquery under in

    Form:
    Code:
    <!-- Sign up FORM -->
    <cfoutput>
      <form  method="post" action="HomeShow_submit.cfm">
        <input type="hidden" name="UserID" value="#RemoveChars(CGI.Auth_User, 1, Find('\', CGI.Auth_User))#">
      <input type="hidden" name="Fname" value="#User.fname#">
      <input type="hidden"
    ...
    See more | Go to post

  • BinryTree Traversal preorder return preorder Expression as String

    Hi,

    I have problem with following method that we used for BinryTree Traversal. The follow method is good so far.

    Code:
    public void preorderHelper(MyBinaryTreeNode rt){
     if(rt==null)
     return;
     System.out.print(" "+rt.data);
     preorderHelper(rt.left);
     preorderHelper(rt.right); 
    }
    But,


    Now I have to change this method in...
    See more | Go to post

  • Code:
    /**
     * MyVector class contains all the methods which help to manipulate MyVector
     * Object and it also implements Cloneable Interface in order to implement the 
     * clone() method.
     * @author Sunil Tyata
     * @version 2012.02.14
     */
    public class MyVector implements Cloneable{
        protected Object[] data;
        protected int size;
        private static final int INITIAL_CAPACITY=25;
    ...
    See more | Go to post
    Last edited by Niheel; Apr 4 '12, 03:12 PM. Reason: you posted way too much code, should only post relevant bits of it

    Leave a comment:


  • x = x.substring(0,x .length()-4);
    See more | Go to post

    Leave a comment:


  • javasuniltyata
    started a topic Need the correction on Quick sort code
    in Java

    Need the correction on Quick sort code

    Any body could help to correct following code of quick sort would be appreciated.
    When I run this code I found the items in the collection
    are not sorted in ascending order.

    //Quick Sort Algorithm

    Code:
        /**
         * Quick sort is a divide and conquer algorithm which relies on a partition 
         * operation: to partition an array an element called a pivot is selected. 
         * All elements
    ...
    See more | Go to post
    Last edited by javasuniltyata; Mar 31 '12, 09:20 AM. Reason: Need to add more Info.

  • javasuniltyata
    started a topic ArrayList Question?
    in Java

    ArrayList Question?

    When I run the program I got the following Error,

    java.util.Concu rrentModificati onException:
    null(in java.util.Abstr actList$Itr)


    What exactly this mean could not get it?Please if anyone could help me out.

    Thanks
    See more | Go to post

  • javasuniltyata
    started a topic Write on File
    in Java

    Write on File

    If the ArrayList has a collection of person, friend and relative objects where they have relationships of inheritance. friend is subclass of person and relative is the subclass of friend.
    How do I distinguish any object which is retriving from ArrayList is an instant of that particular class? For example:
    The object that we are retrieving from ArrayList could be object of Person or object of friend or object of relative.
    See more | Go to post
No activity results to display
Show More
Working...