- Upvotes Received
- 7
- Posts with Upvotes
- 6
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
our teacher doesnt teach us or bother to explain to us he just reads from the notes which are given by the university any help would be appreciated stuck on 2 questions note: they are making us use bluej with 1.5 JDK [IMG]http://i44.tinypic.com/2zjmiv6.jpg[/IMG] [IMG]http://i42.tinypic.com/16iiio5.jpg[/IMG] [IMG]http://i39.tinypic.com/o6lm6b.jpg[/IMG] [IMG]http://i41.tinypic.com/vdg1mh.jpg[/IMG] anyone recommend good book … |
|
Re:
This is a frighteningly subtle bug I first learned about in C (Andrew Koenig's ``C Traps and Pitfalls''), but it's still with us in Java, and I assume C++ as well... The following method looks like it should always return the absolute value of n, but every once in a … |
|
Re:
Hello everyone in this activity i should use if, else if, Boolean, for loop, do while loop ok here is the OUTPUT i must do: GRADING SYSTEM! 96-100 =1.00 94-95 =1.25 92-93 =1.50 90-91 =1.75 88-89 =2.00 86-87 =2.25 84-85 =2.50 82-83 =2.75 80-81 =3.00 78-79 =3.25 75-77 =3.50 74-below … |
|
Re:
Hi, Does anyone know a method or some code to find out whether two numbers have at least one common factor? I currently have a gcd method that finds the greatest common divisor between two numbers however an arithmetic exception is thrown if the two numbers have no common divisor. … |
|
Re:
.contains seems to return true for most things, even if one or two chars match. Is there a way to make it more restrictive? |
|
Re:
[CODE]public Node<E> remove (int index)[/CODE] i need to recursively implement this method. Node<E> nodes contain two fields, next (a reference to the next node in the linked list) and element (a reference to the data it contains) [CODE]public E element; public Node<E> next;[/CODE] Do not worry about the checking for … |
|
Re:
Hi basically I need help java and my program is an calculator which must be able to calculate arbitrary expressions like for example (5.0+8.1)*(2.0). My program works fine it does basic things like calling upon classes etc it's just I don't know how to do the arbitrary expressions. My calculator … |
|
Re:
I am trying to write a program to perform matrix operations. I want input the two matrices from a file. The file has the format: 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 * 0 9 8 7 6 5 4 3 … |
|
Re:
I m new.I am not getting any result for Number of A Number of B Numbers of C Number of D number of F for A,B,C,D,F i always get 0. [CODE]import java.util.Scanner; public class ExamScores1 { public static void main (String[]args) { String a; int count= 0; int grade=0; // … |
|
Re:
I can't get the object array in lab9 class (named "thelist") to be populated with objects from the Foreign class. please see line 35 in lab9 class. I've tried using toString, useing a Foreign type variable as a parameter in a addData(), a addData() method ect... I am really really … |
|
Re:
Hello forum, I want to write a simple code of two dices rolling for two players. The players can roll as many times as they want per turn. If they are matching numbers, the total is zero. If a person passes, it is passed on to the next player. Please … |
|
Hey everyone. I have recently decided to try and learn how to use java Sockets for client/server communication, as well as swing and threads, etc. and have (pretty much) completed a small client server application. The application is basically a syntax-highlighting notepad, a client swing GUI which connects to a … |
|
Re:
I have to write a program that takes the smallest number from a list of numbers and puts it on the first position. [CODE]public static void minToFront (ArrayList<Integer> minInteger) { int result = 0; int min = minInteger.get(0); for (int i = 0; i < minInteger.size(); i++) { if (minInteger.get(i)< … |
|
Re:
Hi guys, I'm taking a Networking & Internet Systems module... have little experience working with java and am trying to work through an assignment... hopefully you can help! The task is to implement a basic UDP chat system. Create a simple chat system which uses the network (at least locally) … |
|
Re:
I need some help with this. For my class I have to make a game called hexo, basically "Hexo is a game loosely based on the television game show Lingo. Rather than trying to guess 5 letter words (as in Lingo) the Hexo player will have sixteen tries to guess … |