- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
15 Posted Topics
two strings are equal in case of equals method if both strings that you are comparing have the same characters and have the same case such as "hello".equals("hello") will return true as both the strings have the same characters h,e,l,l,o and they do have the same length and also have …
Hi Actually i want to know the driver name to use for database connection using Oracle XE.
How to write code in Java Beans for accessing databases in case of MVC?
Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture?
What do you mean by Synchronized classes?
Is it necessary to declare an inner class private?If it is then plz specify the reason why is it necessary to declare an inner class private?
I just want to know why java does not support operator overloading?
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.substring(String.java:1935) at exceptionprac.Excp.main(Excp.java:22) Java Result: 1 I just want to know what is the meaning of Java Result: 1
I just want to know what happens when this code is written: public static void main(String[] args) throws IOException
Suppose i try to instantiate an abstract class then a checked exception is thrown,but who handles it or how is it handled?
use the following code to convert any string to integer. import java.io.*; public class Strng_to_intg{ public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int s=br.read(); System.out.println(s); } } try this code to convert any string to int even the string "asu".
[QUOTE=Rentro;57954]I have a string that looks for example like this: "aabbccddeeffgg" I want to retreive the "ee" or the "cc" value from that string. How can I do that ? The tokenizer is not what I am looking for. I'm looking for the function that allows you to specify that …
[QUOTE=piers;538630]I have to do a really strange thing. I have to take a string of 2 words and then separate it and put it into two other strings eg String name = "fred blogs"; move the part of the string name which says fred to the String firstname so it …
The End.
Parsu7