- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
8 Posted Topics
Can we have a look at the code?
You can use the java.util.Random class for this, just make sure you seed the class with [COLOR="Green"]System.currentTimeMillis()[/COLOR] to make sure you get a true random number, it can return a number of types. Give it a try.
Its very simple, just after doing all the processing echo {data} > output_file If you need some more explanation, please paste a snippet of the actual script
Hey good that you made your stuff work. But keep in mind this thing - The databases are only the repositoires of data. It is you who will have to decide what data goes in where and make sure that you use the capabilities of the database to reflect the …
Hi, First of all, if you are referring to java.sql.Date or java.util.Date, then the methods getYear() and getMonth() are deprecated. Use Calendar.get(Calendar.DAY_OF_MONTH) and Calendar.get(Calendar.MONTH) instead. [code] SimpleDateFormat dtChange = new SimpleDateFormat("MM/dd/yyyy"); java.util.Date date = new SimpleDateFormat("yyyy-mm-dd").parse(txtTransDate); String dt = dtChange.format(date); [/code] Now, date holds the original date, dt has the …
[QUOTE=torbecire;585792]as per assignment instructions[/QUOTE] Is this a school assignment?
Nope I guess it would be: [code] private void postOrderTraverse(Node < E > node, int depth, StringBuilder sb) { for (int i = 1; i < depth; i++) { sb.append(" "); } if (node == null) { sb.append("null\n"); } else { [COLOR="Green"]postOrderTraverse[/COLOR](node.left, depth + 1, sb); [COLOR="green"]postOrderTraverse[/COLOR](node.right, depth + 1, …
What exactly are you looking forward for?
The End.
jinternalframe