sumaraghavi ragha

Ranch Hand
+ Follow
since Nov 17, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sumaraghavi ragha

Hi
how to write

JSP code implement a searchable database

Please help me
10 years ago
JSP
Hello there, Basically i want a simple J2ME coding for my project. A Client(MIDlet)i.e the .jar file should communicate Server(PC) to get the current Date and Time using Bluetooth JSR 82 API. I want this to be implemented in WirelessToolkit.
E.g
10 years ago
Thanks Buddies.

How can i found the location exactly .First if i found the location then only i can trace the persons in that perticular area..


Thanks again


10 years ago
Hi

I am working on mobile application.Finding hard time with the coding.So guide me wat i have to do.It's very simple hv to display the person's names in a particular area.

Thanks in advance
10 years ago
HI All

Can any one please tell me what is the use of a toString menthod

With an example

Thanks
HI All

Can any one please tell me what is the use of a toString menthod

With an example

Thanks
Thans Mike and all others it's helped
Then can i say all wrapper classes are immutable??
Thaks for your reply!!

But can you please tell me why it happens to integers??
hi

How strings are immutable when compared with integers?

But we are changing the string values like
String s = "abc"

s= s.concat("de");

Thnaks
Hi

friends please explain me the following code why it is printing the output one time??

static boolean doStuff() {
for (int x = 0; x < 3; x++) {
System.out.println("in for loop");
return true;
}
return true;
}

Thanks in advance
Hi ranchers!!

I am preparing for SCJP and planing to take soon.One thing i came across from this forum some people are getting 210 minutes who took the exam recently.But in the website it's showing 175.SO please let me know what exactly the time occording to that i will prepare my self for the exam.

Thanks in advance
1. class Example {
2. public static void main(String[] args) {
3. Short s = 15;
4. Boolean b;
5. // insert code here
6. }
7. }
Which, inserted independently at line 5, will compile? (Choose all that apply.)
A. b = (Number instanceof s);
B. b = (s instanceof Short);
C. b = s.instanceof(Short);
D. b = (s instanceof Number);
E. b = s.instanceof(Object);
F. b = (s instanceof String);

how the answer is D (b aslo)
But expalin how d is also correct??
HI

Please tell me why i1 and i2 are different and i3 and i4 are same

Integer i1 = 1000;
Integer i2 = 1000;
if(i1 != i2) System.out.println("different objects");
if(i1.equals(i2)) System.out.println("meaningfully equal");
Produces the output:
different objects
meaningfully equal

Integer i3 = 10;
Integer i4 = 10;
if(i3 == i4) System.out.println("same object");
if(i3.equals(i4)) System.out.println("meaningfully equal");
This example produces the output:
same object
meaningfully equal

Thanks in advance