No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi I am Amit, I am working for an MNC in Mumbai. I am a SCJP certified professional, and pursuing SCWCD. I am currentely working on J2EE, Struts, Java, JSP, SQL, JavaScript.
Re:
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.*** **» Introduction to Java «** To start off, [Java](http://en.wikipedia.org/wiki/Java_(programming_language)) … |
|
Re:
[B]EDIT: [/B] i mean "parsing number from a string?" sorry. what should i do to parse a number from a string? i tried this. [CODE=java] Double leap = Double.parseDouble(this.yyyy); [/CODE] but it gives me error. i want to keep the zero in front of the input. for example: 1. i … |
|
Re:
can someone check my codes where my error was?! [code] import java.io.*; import java.util.Arrays; public class exer06_01{ public static void main(String [] argv)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String sh = " "; String str = new String(sh); System.out.print("Enter a string: "); str = br.readLine(); System.out.println("The reverse: "+ReverseString.reverseIt(str)); … |
|
Re:
Hi there. I received an assignment to sort Strings alphabetically which a user inputs. So far I've been able to produce the first word that would be top in the sort, so if someones inputs ("All Big Cats"), the first would be All. Anyways that is where I am now … |
|
Re:
What code to find Max value and min value in this Array... ? Help me Please..? import java.util.Scanner; import java.lang.Math; class Work4_1 { public static void main(String[] args) { Scanner input=new Scanner(System.in); int[] value=new int[10]; int max,min; for(int i=1;i<value.length;i++) { System.out.print("Enter Value : "); value[i]=input.nextInt(); } Math.max(value[i]); <<< It's True...? … |