User Profile

Collapse

Profile Sidebar

Collapse
ayan biswas
ayan biswas
Last Activity: Apr 18 '11, 08:11 AM
Joined: Mar 10 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ayan biswas
    started a topic Building Mobile Application using java
    in Java

    Building Mobile Application using java

    Can somebody suggest me some books(Beginner level) from where I can learn about building mobile applications using java ?
    See more | Go to post

  • ayan biswas
    replied to Problems with comparable interface
    in Java
    @ Dheeraj thanks for the reply..But I still have confusions..Whe n I call sort() using arraylist of song objects ..the control transfers to compareTo()..no w, the comparison ->this.title.com pareTo(s.getTit le())..in this line is it that each song object is picked up one by one from the list and compared?If yes,then how does the first comparison take place?the first song object is compared to which object?
    Sorry for asking stupid questions....
    See more | Go to post

    Leave a comment:


  • ayan biswas
    started a topic Problems with comparable interface
    in Java

    Problems with comparable interface

    I got this code form "Head First Java".

    Code:
    class Song implements Comparable<Song>{  
    String art;  
    String tit;  
    Song(String a,String t)  
    {  
    tit=t;  
    art=a;  
    }  
    public int compareTo(Song s)  
    {  
    return title.compareTo(s.getTitle());  
    }  
    String getTitile()  
    {}  
    String getAuthor()  
    {}  
    }  
    class Songsort{
    ...
    See more | Go to post
    Last edited by Dheeraj Joshi; Apr 8 '11, 03:39 AM. Reason: Please use code tags to post code block

  • ayan biswas
    started a topic Building Huffman Tree
    in Java

    Building Huffman Tree

    I am writing codes to encode/decode using Huffman algorithm.I have completed calculating the frequency of the characters in a file.Now I have to start building the Huffman tree.I need some idea on how to proceed ?
    See more | Go to post
No activity results to display
Show More
Working...