N Kol

Greenhorn
+ Follow
since Sep 29, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by N Kol

I am working on a project where we have to get the ascii values from 0-255 to print to the console screen. I can get the values from 32-255 to print correctly, but 0-9 are a little funky and so on. Any idea's

Thanks
13 years ago
I have:

public boolean equals(pkgType that)
{
if (this.pkgType== that.pkgType)

return true;

the pkgType is sytaxing. pkgType is a decleared variable. Not sure what to do here, can anyone help?
13 years ago
ok how do i convert a char to uppercase, or .toUpperCase?
13 years ago
Could anyone help me understand if there is a difference between char and character in JAVA. There is a voice in the back of my head telling me there is. But I am not sure if I should listen or not
13 years ago
Need some help here folks,

"This parameter must be accepted in upper or lower case"

the problem is the declaration is char packageType

13 years ago
I am getting a big time error trying to get this boolean thing to work:



I am totally lost.
I need it to show true if the answer is abridged, and false if unabridged.
13 years ago
yes, then I am going to turn around and us a getter that will return a string describing the length in hours and minutes format.

if I typecast it will work
13 years ago
this is what I got so far:

public void setLength(double length)
{
this.length= length;
int hours =(int) minutes/60;
int minutes = (int)}

so my formula would be? length = (int)(hours *60 + minutes / 60))

correct?
13 years ago