Tina Raja

Greenhorn
+ Follow
since Oct 05, 2012
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Tina Raja

I mean that when I run the code its not fast enough.
5 years ago
In your for loop, you can not do gallons = gallons++
5 years ago
I am quite new at JAVA however, I tried what you posted and it works for me - trying using this code

class Example{
public static void main(String [] args){
double gallons;
double liters;
int counter;

counter = 0;

for (gallons = 1; gallons <=20; gallons++){
liters = gallons * 3.75;
System.out.println("We have " + liters + " liters");
counter++;
if (counter == 5){
System.out.println();
counter = 0;
}

}
}
}
5 years ago
Hey guys ! I am trying to implement a list interface that allows fast modifications at the front back and middle. I tried using ArrayDeque however, was getting an efficiency error and, then used link but was again getting an efficiency error. Can someone please help me out and, let me know what is actually going on and, what am I doing wrong here. Here is my code.
5 years ago