No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Dining Philosopher ;)
- Interests
- Solving sudoku and mathematical puzzles
- PC Specs
- I work on .net but would like to explore java and may be become a guru with all the efforts i can put…
4 Posted Topics
Re: Does changing the type from float to double do the trick ? My guess is that the number is being rounded because it is reaching its precision value. | |
Re: The expression a = 5 is evaluated as bool. Non zero is true. Thus the error. | |
Re: I really dont understand the need of creating a class within another class.. The logic there seems to be pretty cluttered. Instead, there should be 2 separate classes which make things simple for further modifications. Also, delegations are a better way of object orientated programming. The student class can be … | |
Re: Well i came up with a possible solution which was pretty trivial.. i hope this is what you are looking for.. import javax.swing.*; public class SwingUtility { public static void main(String args[]) { int input1; int input2; int input3; int Volume; input1=Integer.parseInt(JOptionPane.showInputDialog(null,"Enter the length of the swimming pool:")); input2=Integer.parseInt(JOptionPane.showInputDialog(null,"Enter the … |
The End.