No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
[CODE]import java.io.*; class Dictionary { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter the next number"); String input; input=console.readLine(); String[] Hebrew={"ehad", "shnaiim","shalosh","arba","hamesh","shesh","sheva","shmone","tesha","eser"}; String[] English={"one", "two","three","four","five","six","seven","eight","nine","ten"}; for(int x=0;x<Hebrew.length;x++) { if(input.equals(Hebrew[x])) { System.out.println(English[x]); } } } { while(!input.equals("enough") ) //i want to make a condition that if the program doesnt … |
|
Re:
Hi, I am trying to interface between Java and Python in a program called Eclipse. Any insight on how to do this would be helpful. Thanks! Elise |
|
Re:
[CODE]import java.io.*; class Ex33 { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter the next number"); String input; input=console.readLine(); int n1; n1=Integer.parseInt(input); int sum=0; int sum2=0; int input2=0; input2=n1; int count=1; char dot=','; String Number=""; int RealNumber2=0; String All=""; String RealNumber=""; while(count<5) { System.out.println("Please enter the next number"); … |
|
Re:
When a variable goes out of scope in Java, is it immediately removed from stack and one strong reference to the object it pointed to removed ? |
|
Re:
Hi! I have a problem with a binary tree programing (AVL)where I have to check if it is or if it isn't balanced.... I have made a start but I know it isn't right... [CODE] public boolean isBalanced() { boolean balanced = true; isBalanced(root, balanced); return balanced; } private void … |