Re: [algogeeks] java

2013-03-17 Thread manish untwal
@sasi and Sulekhaits Head First Java...which explained these properties to me. :) On Thu, Mar 14, 2013 at 1:28 PM, sasi kumar wrote: > @Manish Well Explained:) > @sulekha Probably you have to read Head First java which is an awesome > book that covers these topics with examples > > > On 12

Re: [algogeeks] java

2013-03-17 Thread Goutham Vangara
@sulekha your analogy ,i.e., comparing objects to primitives is not correct, objects do not just hold data,they have some behavior as well.In Object Oriented Programming language Objects are defined as to reflect a real world entity. Inheritance is also a feature inspired from the real world. So a

RE: [algogeeks] java

2013-03-17 Thread Richard Reed
Double kudos to head first. I have their design patterns book. Sent from my Windows Phone -- From: sasi kumar Sent: 3/14/2013 12:58 AM To: algogeeks@googlegroups.com Subject: Re: [algogeeks] java @Manish Well Explained:) @sulekha Probably you have to read Head First

Re: [algogeeks] java

2013-03-14 Thread sasi kumar
@Manish Well Explained:) @sulekha Probably you have to read Head First java which is an awesome book that covers these topics with examples On 12 March 2013 21:10, manish untwal wrote: > according to my understanding the super class object have limited function > like for example > Class - ani

Re: [algogeeks] java

2013-03-13 Thread sulekha metta
oh..ok thank you for replying :) On Tue, Mar 12, 2013 at 9:10 PM, manish untwal wrote: > according to my understanding the super class object have limited function > like for example > Class - animal : methods/behavior : roam() and eat() > and a sub class hippo : method/behavior : roam(),eat() a

Re: [algogeeks] java

2013-03-12 Thread manish untwal
according to my understanding the super class object have limited function like for example Class - animal : methods/behavior : roam() and eat() and a sub class hippo : method/behavior : roam(),eat() and swim() so a hippo is a animal then according to the polymorphic property of java a reference of

Re: [algogeeks] java

2013-03-12 Thread sulekha metta
what ever data members,member functions present in super class are applicable to subclass...subclass may contain more additional featuresso its obvious that size of subclass object is more than superclass object...now lets take an analogy of float(4 bytes) and double( 8 bytes) float can be impl

Re: [algogeeks] java

2013-03-12 Thread manish untwal
didn't understand your question please specify the question with an example. On Sat, Mar 2, 2013 at 6:18 PM, sulekha metta wrote: > Q) why super class object can't be implicitly converted to subclass? is > there any specific reason? > Thanks in advance! > > -- > sulekha metta > B.E computer scie

Re: [algogeeks] java

2013-03-12 Thread subramony mahadevan
i think its just a logical reason take animal as superclass bird as subclass ... since we are talking about inheritance it is " is a relationship " ie bird is a animal not vice versa hence we cannot implicitly convert to subclass On Sat, Mar 2, 2013 at 6:18 PM, sulekha metta wrote: > Q) why

[algogeeks] java

2013-03-12 Thread sulekha metta
Q) why super class object can't be implicitly converted to subclass? is there any specific reason? Thanks in advance! -- sulekha metta B.E computer science osmania university -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe f

Re: [algogeeks] Java problem

2012-10-18 Thread Adi Srikanth
as far as i understand, u may be looking for Executor class. check out for Executor in JavaDocs Regards, Adi Srikanth. Personal Pages: http://bit.ly/adisrikanth On Thu, Oct 18, 2012 at 6:54 PM, Shruti Gupta wrote: > if u are extending Thread class, then u can simply make a new object of > the

Re: [algogeeks] Java problem

2012-10-18 Thread Shruti Gupta
if u are extending Thread class, then u can simply make a new object of the class(that is extending thread) and you will get new instance for every thread. if u are implementing an interface, then when u create a thread object by Thread t=new Thread(object); and pass a different object (implementi

[algogeeks] Java problem

2012-10-18 Thread shruthi sharma
How can i create a new instance for every thread in java? Instead of reusing the same existing instance -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this

Re: [algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-13 Thread bharat b
@shruti : question is about implementing super() functionality ... @vibhav : ya, I don't need it .. I heard that it is possible .. just to know how .. On Wed, Sep 12, 2012 at 11:55 AM, vaibhav shukla wrote: > whats the need for such a hack > > > On Wed, Sep 12, 2012 at 10:56 AM, bharat b > wrote

Re: [algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-13 Thread Shruti Gupta
if u'r talking about the use of super while calling constructors, u don't need to write anything.. compiler implicitly calls the no-argument constructor of superclass On Wed, Sep 12, 2012 at 10:56 AM, bharat b wrote: > > -- > You received this message because you are subscribed to the Google Gro

Re: [algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-13 Thread vaibhav shukla
whats the need for such a hack On Wed, Sep 12, 2012 at 10:56 AM, bharat b wrote: > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send

[algogeeks] java question : How can one writes a function in Java that mocks the super() call without using the super keyword?

2012-09-11 Thread bharat b
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at ht

Re: [algogeeks] JAVA PROGRAM ERROR

2012-08-22 Thread Arman Kamal
it should be x - 1 not n - 1 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more opti

Re: [algogeeks] JAVA PROGRAM ERROR

2012-08-22 Thread Madhukar Bharti
Jsut Change in for(i=0;iwrote: > what error it is showing > > > On Wed, Aug 22, 2012 at 12:41 AM, Rajesh Kumar wrote: > >> class StringTimes >> { >> public static void main(String args[]) >> { >> String str="Hi"; >> long i=2; >> String get; >> get=stringTimes(str,i); >> System.out.println(ge

Re: [algogeeks] JAVA PROGRAM ERROR

2012-08-22 Thread vaibhav shukla
U r passing x in the method stringTimes and in loop there is 'n' .. so complier error :P make it x and u'll get HiHi On Wed, Aug 22, 2012 at 2:36 AM, Rohit Singhal wrote: > what error it is showing > > > On Wed, Aug 22, 2012 at 12:41 AM, Rajesh Kumar wrote: > >> class StringTimes >> { >> publ

Re: [algogeeks] JAVA PROGRAM ERROR

2012-08-22 Thread SHOBHIT GUPTA
Error : U didnt declare the variable n in stringTimes function . Just replace x with n . U'll get the answer . On Wed, Aug 22, 2012 at 12:41 AM, Rajesh Kumar wrote: > class StringTimes > { > public static void main(String args[]) > { > String str="Hi"; > long i=2; > String get; > get=stringTimes(

Re: [algogeeks] JAVA PROGRAM ERROR

2012-08-21 Thread Rohit Singhal
what error it is showing On Wed, Aug 22, 2012 at 12:41 AM, Rajesh Kumar wrote: > class StringTimes > { > public static void main(String args[]) > { > String str="Hi"; > long i=2; > String get; > get=stringTimes(str,i); > System.out.println(get); > } > public static String stringTimes(String s

[algogeeks] JAVA PROGRAM ERROR

2012-08-21 Thread Rajesh Kumar
class StringTimes { public static void main(String args[]) { String str="Hi"; long i=2; String get; get=stringTimes(str,i); System.out.println(get); } public static String stringTimes(String str,long x) { int i; String set=str; for(i=0;ihttp://groups.google.com/group/algogeeks?hl=en.

Re: [algogeeks] Java Design Question..

2012-08-03 Thread parag khanna
try JDO , there u cn create database using class and can use it as objects -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogee

Re: [algogeeks] Java Design Question..

2012-08-03 Thread vaibhav shukla
you "had" the java class so now wats the need of any implementation :P well jokes apart Specify the exact requirement ie when u say method which returns the respective object of the class based on given data(instance variable : what type of object you want from this method? and what does thes

Re: [algogeeks] Java Design Question..

2012-08-02 Thread Prem Krishna Chettri
One Line Answer.. Check Factory Design Pattern. On Thu, Aug 2, 2012 at 10:13 PM, teja bala wrote: > I had a java class(acts as a database class) which got a method which > returns the respective object of the class based on given data(instance > variable) .. eg: given customer id and 3 classe

[algogeeks] Java Design Question..

2012-08-02 Thread teja bala
I had a java class(acts as a database class) which got a method which returns the respective object of the class based on given data(instance variable) .. eg: given customer id and 3 classes clerk,manager,salesperson like that .. method should return the instance associated with the customer id.. c

Re: [algogeeks] Java recursion Question !!

2012-07-27 Thread teja bala
thx alot How silly my mistake was!! :( ... On Thu, Jul 26, 2012 at 11:16 PM, payal gupta wrote: > perhaps its this quoted line... > > " permu(c,i+1,j); " >"permu(c,i+1,n) > > On Thu, Jul 26, 2012 at 9:37 PM, teja bala wrote: > >> // plz anyone tell me whats wrong in this code >> //

Re: [algogeeks] Java recursion Question !!

2012-07-26 Thread payal gupta
perhaps its this quoted line... " permu(c,i+1,j); " >"permu(c,i+1,n) On Thu, Jul 26, 2012 at 9:37 PM, teja bala wrote: > // plz anyone tell me whats wrong in this code > //o/p should print all possible permutations of string. > > class swap > { > char ab[]={'a','b','c'}; > public stat

[algogeeks] Java recursion Question !!

2012-07-26 Thread teja bala
// plz anyone tell me whats wrong in this code //o/p should print all possible permutations of string. class swap { char ab[]={'a','b','c'}; public static void main(String[] args) { swap c=new swap(); permu(c.ab,0,3); } public static void permu(char c[],int i,int n) { System.out.print(i);int

[algogeeks] Java question

2012-03-10 Thread shruthi sharma
Hi, Im new to algorithms, so this might be a simple question for most of you Lets say there are 5 trucks, each of which can take 100kg load. And they are filled to some extent randomly. Let the free quantity be 40kg, 30kg, 20kg, 80kg, 60kg respectively. At any given time only single load comes.

[algogeeks] Java Tree Datastructure

2012-02-07 Thread pa7751
Hi Can anybody suggest a program on how to "convert a n-ary tree to an array and reconstruct the tree from the array" in java? Thanks -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegrou

Re: [algogeeks] java help

2012-02-03 Thread abhishek
http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html On Fri, Feb 3, 2012 at 8:35 AM, Arun Vishwanathan wrote: > Hi, > does anybody know how to take a screenshot of screen with java ? > > I also need help regarding storing the screenshot image into a d

[algogeeks] java help

2012-02-02 Thread Arun Vishwanathan
Hi, does anybody know how to take a screenshot of screen with java ? I also need help regarding storing the screenshot image into a doc file or so. Any suggestions? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-30 Thread Ashish Goel
use array, not clear on JAVA front though, but logic is fine, pass the vector and index instead Best Regards Ashish Goel "Think positive and find fuel in failure" +919985813081 +919966006652 On Mon, Jan 30, 2012 at 11:04 AM, Mihir Kulkarni wrote: > Hello, > This method below is not giving correc

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-30 Thread Saurabh Yadav
+1 @atul anand On Mon, Jan 30, 2012 at 12:31 PM, atul anand wrote: > @Mihir : actually you are using linked listso you are keep on adding > the nodes but not removing it..hence...you are getting wrong output.. > > i guess this should be done to fix the code. > > > public static void paths

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-30 Thread vaibhavmittal11
Although there is no pointer concept in java, but still underlying containers in java get passed through functions via there base address. What you want is to send a copy of your list again recursively. --- pu

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-30 Thread Rujin Cao
@Mihir Just understood what you were asking... atul is nearly right. You got to remove the unused items from LinkedList after calling "print(left,..") and "print(right, ..)", which might contain more than one item. Since I'm not a Java guy, I just wrote some snippet using F# to illustrate the id

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-29 Thread atul anand
@Mihir : actually you are using linked listso you are keep on adding the nodes but not removing it..hence...you are getting wrong output.. i guess this should be done to fix the code. public static void paths(Node node, LinkedList list) { if(node == null) return; list.add(node.data)

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-29 Thread Mihir Kulkarni
I only intend to print the root to leaf paths. The correct output should be: 721 725 It works fine when I use array instead of LinkedList. cheers, Mihir Kulkarni Graduate Student University of California, Irvine http://goo.gl/CvRcG On Sun, Jan 29, 2012 at 10:06 PM, Rujin Cao wrote: > Is the c

Re: [algogeeks] JAVA: Print all paths from root to leaf

2012-01-29 Thread Rujin Cao
Is the correct output 7 2 1 5 ? Did you intend to print the leaf node ? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogee

Re: [algogeeks] Java Collections

2011-12-06 Thread Shravan Kumar
you need to override equals and hashcode methods. On Mon, Dec 5, 2011 at 12:23 PM, pa7751 wrote: > Hi > > I have a Person Object that has members: firstname, lastname and DOB > public class Person { >private String firstName; >private String lastName; >private Date dob; > >/** Co

[algogeeks] Java Collections

2011-12-04 Thread pa7751
Hi I have a Person Object that has members: firstname, lastname and DOB public class Person { private String firstName; private String lastName; private Date dob; /** Construct a Person given the first name, last name, and birth date. */ public Person(String firstName, String lastN

[algogeeks] Java Collections

2011-12-04 Thread DT
Hi I have a Person Object that has members: firstname, lastname and DOB public class Person { private String firstName; private String lastName; private Date dob; /** Construct a Person given the first name, last name, and birth date. */ public Person(String firstName, String

Re: [algogeeks] java books???

2011-09-06 Thread md shaukat ali
nageshwar rao On Tue, Sep 6, 2011 at 8:22 PM, Sandy wrote: > Java How To Program - Deitel & Deitel > > > On Tue, Sep 6, 2011 at 5:38 PM, htross wrote: > >> guys i need to prepare for java aptitude so please refer some >> books.. >> >> -- >> You received this message because

Re: [algogeeks] java books???

2011-09-06 Thread Sandy
Java How To Program - Deitel & Deitel On Tue, Sep 6, 2011 at 5:38 PM, htross wrote: > guys i need to prepare for java aptitude so please refer some > books.. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To pos

[algogeeks] java books???

2011-09-06 Thread htross
guys i need to prepare for java aptitude so please refer some books.. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send em

Re: [algogeeks] Java Output

2011-08-06 Thread priya v
In the statement, i=i++ + f(i), i++ is evaluated first. At this point i=0. The i passed to the function f() has the value 1. 1 is printed in the function. 0 is returned. now the expression i= i++ + f(i) becomes i=0+0 thus the value of i is changed to 0. On Sat, Aug 6, 2011 at 8:29 PM, swetha rah

[algogeeks] Java output

2011-08-06 Thread rashmi i
I guess the answer is that...i is post incremented..and in post increment ..increment occurs after the assignment operation -- R@$!-! "DoN'T LimIt Ur cHaLlEngeS, ChAlLenGe uR LImItS." -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post

[algogeeks] java output

2011-08-06 Thread rashmi i
i guess it's because of the order in which execution of the statement takes place the function gets excecuted before the increment due to some reason i m unaware of. sorry can't come up with a stronger reason -- R@$!-! "DoN'T LimIt Ur cHaLlEngeS, ChAlLenGe uR LImItS." -- You received this messa

[algogeeks] Java Output

2011-08-06 Thread swetha rahul
Hi, class C{ static int f1(int i) { System.out.print(i + ","); return 0; } public static void main (String[] args) { int i = 0; i = i++ + f1(i); System.out.print(i); }} Why does this print 1,0..?? Please explain... -- You received this message because you are subscribed to the Google Gr

Re: [algogeeks] Java Developer Needed in MD -- F2F required

2011-06-30 Thread Naveen Kumar
banned in 6 mins pretty cool... :) On Thu, Jun 30, 2011 at 10:19 PM, shady wrote: > banned > > On Thu, Jun 30, 2011 at 10:13 PM, Leon Parker wrote: >> >> Hello Associates, >> Wishes for the day!! >> >> Please go through the below requirement and let me know if you have any >> consultants for the

Re: [algogeeks] Java Developer Needed in MD -- F2F required

2011-06-30 Thread shady
banned On Thu, Jun 30, 2011 at 10:13 PM, Leon Parker wrote: > Hello Associates, > Wishes for the day!! > > Please go through the below requirement and let me know if you have any > consultants for the below position? > > *Job Title: Java Developer > Location: Silver Spring, MD > Duration: 7-12 M

[algogeeks] Java Developer Needed in MD -- F2F required

2011-06-30 Thread Leon Parker
Hello Associates, Wishes for the day!! Please go through the below requirement and let me know if you have any consultants for the below position? *Job Title: Java Developer Location: Silver Spring, MD Duration: 7-12 Months* Must have skills: Java 5; JEE technologies Expertise with Spring, iBati

[algogeeks] Java Developer Needed in MA -- F2F Required

2011-06-15 Thread Leon Parker
Hello Associate, Hope you are doing well! Please go through the below requirement and let me know if you have any Java Developer local to MA for the below position? Job Title: Java Developer Location: Cambridge, MA Duration: 3-6 Months Rate: $50 Gotta have 7 yrs Java, and strong Linux and SQL e

Re: [algogeeks] Java Developer Needed in PA -- F2F required -- Rate: $45/hr on C2C

2011-06-14 Thread Harshal
moderators, please ban leon.pan...@gmail.com On Wed, Jun 15, 2011 at 1:00 AM, Leon Parker wrote: > Hello Associate, > > Please go through the below requirement and let me know if you have any > consultants for the below position. > > Job Title: Java Developer > Location: Pittsburgh, PA > Duratio

[algogeeks] Java Developer Needed in PA -- F2F required -- Rate: $45/hr on C2C

2011-06-14 Thread Leon Parker
Hello Associate, Please go through the below requirement and let me know if you have any consultants for the below position. Job Title: Java Developer Location: Pittsburgh, PA Duration: 2-3 Months Rate: $45/hour C2C Description: The candidate should be well versed with the following technologie

Re: [algogeeks] Java Book

2011-06-13 Thread vaibhav shukla
for basics go for Complete Reference.then you can switch to BIG JAVA by Cay Horstman On Mon, Jun 13, 2011 at 4:58 AM, karan sachan wrote: > You can go for "Thinking in Java" by Bruce Eckel or books authored > by Hortsman...both are equally good!! > > > On Mon, Jun 13, 2011 at 11:35 AM, Anurag G

Re: [algogeeks] Java Book

2011-06-13 Thread karan sachan
You can go for "Thinking in Java" by Bruce Eckel or books authored by Hortsman...both are equally good!! On Mon, Jun 13, 2011 at 11:35 AM, Anurag Gupta wrote: > Please suggest any good book for Java (for beginners) > Thanks in advance :) > > -- > You received this message because you are subscrib

[algogeeks] Java Book

2011-06-12 Thread Anurag Gupta
Please suggest any good book for Java (for beginners) Thanks in advance :) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogee

[algogeeks] Java DataStructure advice needed - Need to compare large and adhoc files (the files may have 1 milliion rows)

2011-06-09 Thread vishnu madiga
Need to compare large and adhoc files (the files may have 1 milliion rows) in java. So need to load these files in a datastructure and based on a set of rules , need to realign and compare these rows. Can you advice which datastructure/Collection class is best fit. Or anyway I need to custom code t

[algogeeks] Java DataStructure advice needed - Need to compare large and adhoc files (the files may have 1 milliion rows)

2011-06-09 Thread vishnu madiga
Need to compare large and adhoc files (the files may have 1 milliion rows) in java. So need to load these files in a datastructure and based on a set of rules , need to realign and compare these rows. Can you advice which datastructure/Collection class is best fit. Or anyway I need to custom code t

[algogeeks] Java Developer // Miami Florida // 3 months contract

2011-06-01 Thread sohail panzer
Dear Professional, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. *Please reply at soh...@panzersolutions.com

[algogeeks] Java Developer/Grails -- Phoenix, AZ -- 3+ month contract

2011-05-26 Thread sohail panzer
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. *Please reply at soh...@panzersolutions.com * Title

[algogeeks] Java Developer/Grails -- Phoenix, AZ -- 3+ month contract

2011-05-25 Thread sohail panzer
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. *Please reply at soh...@panzersolutions.com * Title

[algogeeks] Java/J2EE Developer -- Chicago, IL -- 6 month contract to hire

2011-05-25 Thread sohail panzer
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. * Please reply at soh...@panzersolutions.com* Title

[algogeeks] Java/J2EE Developer -- Chicago, IL -- 6 month contract to hire

2011-05-25 Thread sohail panzer
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. * Please reply at soh...@panzersolutions.com* Title

[algogeeks] Java Developer Needed in FL

2011-04-13 Thread Leon Parker
Hello Folks, Hope you are doing well! Please go through the below requirement and let me know if you have any consultants for the below position? * Job Title: Java Developer Location: Jacksonville, FL Duration: 6+ Months Rate: $40/hr on Corp to Corp F2F Required* A junior to mid-level programme

[algogeeks] Java Developer Needed in TN -- F2F required --

2011-04-05 Thread Leon Parker
Hello Folks, Please go through the below requirements and let me know if you have any consultant for the below position? *Job Title : Java Developer Location: Nashville, TN. Duration: 3+ months contract Bill rate is max 45hr/hr on C2C* I have a client who wants someone to get started Monday. an

[algogeeks] Java Developer Needed in OH -- F2F Required

2011-03-25 Thread Leon Parker
Hello All, Hope the day is treating you well! Please go through the below requirement and let me know if you have any consultant available for the below position. ** I can get you a interview Immediately ** Job Title: Java Developer Location: Columbus, OH Duration: 4+ Months *Ra

Re: [algogeeks] Java Random Method

2010-06-26 Thread Chakravarthi Muppalla
@trdant, is non-linear random number different from general random number? On Sun, Jun 27, 2010 at 9:36 AM, Anurag Sharma wrote: > int getNum(){ > int arr[]={104,105,106,108}; > return arr[(int)(Math.random()*4)]; > } > > Anurag Sharma > > > > On Sat, Jun 26, 2010 at 8:43 PM, trdant wrote: > >

Re: [algogeeks] Java Random Method

2010-06-26 Thread Anurag Sharma
int getNum(){ int arr[]={104,105,106,108}; return arr[(int)(Math.random()*4)]; } Anurag Sharma On Sat, Jun 26, 2010 at 8:43 PM, trdant wrote: > I have the following sequence of integers: 104,105,106,108 and need to > write a Java statement to randomly produce one of these numbers. I > basic

[algogeeks] Java Random Method

2010-06-26 Thread trdant
I have the following sequence of integers: 104,105,106,108 and need to write a Java statement to randomly produce one of these numbers. I basically need a non-linear random number generator. Any ideas? Travis -- You received this message because you are subscribed to the Google Groups "Algori

[algogeeks] JAVA/J2EE TUTIONS With PROJECTS for MCA, BCA, B.E at RAJAJINAGAR.

2008-10-20 Thread [EMAIL PROTECTED]
Professionals with extensive knowledge and experience, both in training and development are a part of our team of trainers. Single minded dedication, effective work culture and dynamic decision making under impossible situations are our strengths. Quality without compromise is our motto. SL.NO

[algogeeks] Java Algorithms and Data-structures Library

2008-06-30 Thread Wes Jossey
Morning Everyone: I'm currently creating a Java library that contains a collection of interfaces, abstract classes, and fully implemented versions of an assortment of data-structures and algorithms. The library is going to be used in conjunction with a program I'm writing, and its primary purpos