User Profile
Collapse
-
Building Mobile Application using java
Can somebody suggest me some books(Beginner level) from where I can learn about building mobile applications using 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.... -
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{ -
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 ?
No activity results to display
Show More
Leave a comment: