Results 1 to 4 of 4
- 10-10-2009, 07:57 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 14
- Rep Power
- 0
- 10-10-2009, 08:46 PM #2
Java Code:private final IntList coefficients;
Originally Posted by kira137
Neither, IntList is a class. Now, based on it's name, IntList could be a wrapper for List<Integer>, but that's not a guarantee, just a best guess on my part. Instead, you should check if your professor included an IntList class in the notes, or ask if you cannot find such a class.CodesAway - codesaway.info
writing tools that make writing code a little easier
- 10-10-2009, 09:17 PM #3
Member
- Join Date
- Oct 2009
- Posts
- 14
- Rep Power
- 0
ah.. yes there is class called IntList. I thought intList was just a weird way of saying int.
But I have another question, what does the name coefficent do?
because there isn't a method called coefficient inside intList..
is it just naming intList to a different name..?
- 10-10-2009, 09:23 PM #4
First, to clarify, Java class names, variables, method names, etc. are case-sensitive. So, IntList and intList are not the same.
Second, coefficients is an instance of an IntList. You could give it any name you choose. The name, usually, is something meaningful, so that it explains it's functionality. For example, the name coefficients could mean it stores the coefficients for a polynomial equation.
From the appearance, coefficients is a private field in a class.CodesAway - codesaway.info
writing tools that make writing code a little easier
Similar Threads
-
what is the difference
By ron87 in forum New To JavaReplies: 5Last Post: 01-04-2011, 04:31 PM -
What is the difference between
By arnab321 in forum New To JavaReplies: 2Last Post: 01-19-2009, 04:49 AM -
what is the difference between jsp and jsf?
By makpandian in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 12-31-2008, 05:55 PM -
difference
By nishant in forum New To JavaReplies: 2Last Post: 09-17-2008, 06:04 PM -
Difference between ASP and JSP
By barney in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 08-07-2007, 07:15 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks