Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 12
Member Avatar for Lxyslckr

I'm trying to do four operations. Find the minimum including 0 # (working on) find the sum of the negative # (Think I'm done) Find the sum of the odd # (working on) How many positive #(working on) I need help on the sum of negative This is what will …

Member Avatar for Lxyslckr
0
91
Member Avatar for Lxyslckr

I need to make a string by using a loop to a method from ohter class that is named speak(), and is seperated by a \n the problem is in the class public String allSpeak() [CODE] /* public String allSpeak() ( if (count = null) { System.out.println("No Animals to Speak"); …

Member Avatar for Eric Cute
0
130
Member Avatar for Lxyslckr

The question is if x >=1 then i creates the array if not then it defaults x to 1. [QUOTE]Zoo has one constructor which takes an int as a parameter and uses it to instantiate the array animals to that size, and it also sets count to zero. It should …

Member Avatar for ~s.o.s~
0
138
Member Avatar for Lxyslckr

ok so I have to make that toggleCircusStatus() gives me the opposite of fromCircus [QUOTE]Write a public method called toggleCircusStatus that negates the value of the circusStatus variable.[/QUOTE]] [CODE] public class Elephant extends Mammal { private boolean fromCircus; public Elephant() { super(); fromCircus = false; } public Elephant ( String …

Member Avatar for deviliq
0
123
Member Avatar for Lxyslckr

I just need to make sure that the snippet of code is correct. I don't have all the code as I'm still writing it. If it's possible I need help on the assignment. Maybe clues as to how to do it and maybe point to where I can find the …

Member Avatar for Eric Cute
0
192
Member Avatar for Lxyslckr

The Vehicle.java is the file that I am modifying. The second code is the testdriver. [CODE]public class Vehicle { String make; String model; int year; public Vehicle(String s1, String s2, int y) { if (y >= 1980 && y<= 2012) { year = y; } else { y = 2010; …

Member Avatar for haranaboy
0
424
Member Avatar for Lxyslckr

I need to verify that the number the user inputed is between 1908 and 2012. here are the actual instructions "The constructor must also verify that the value provided for "year" is at least 1908 and at most 2012 – if not, set the year to 2010 by default" I …

Member Avatar for Lxyslckr
0
101
Member Avatar for Lxyslckr

[CODE]import java.util.Scanner; import java.text.DecimalFormat; public class Assignment3 { public static void main(String [] args) { Scanner scan = new Scanner(System.in); String first,last ; int id; //First and last names and ID input System.out.println("Welcome to the Grade Calculator"); System.out.print("Please enter your first name:\t"); first = scan.nextLine(); System.out.print("Please enter your last name:\t"); …

Member Avatar for NormR1
0
129