Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!

Rajeev Sachdev

Greenhorn
+ Follow
since Jul 01, 2003
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 Rajeev Sachdev

hi there,
can we pass floating point values in case labels in case of switch.though i know the answer..just want to know does my answer match yours.well yes we can pass floating point to case labels in Switch.

Thnx
hi Evelyn,
Name: Rajeev Sachdev
Email: rajeevmentors@rediffmail.com
Country: India
Experience: more than 1 year
Certifications: SCJP 1.4
Awaiting your positive response
Thanking You
hi
when 2 string literals are created they denote the same object.this is the same as
String s = "rajeev";
String s1 = "rajeev";
s == s1 ; // true
But when u create an object of String then both of them doesnot denote the same object
String s = new String("rajeev");
String s1 = new String("rajeev");
s == s1 ; // false
but s.equals(s1) ; // true coz they check the values
hope this solves the problem
hi there
there is nuthing to be confused of..
when the object is created of child class
Child c = new Child();
at runtime the class of the current object is checked and the method of the respective class is called..though method2 is being called by c and it is not explicitly present in Child class but it has been inherited from its Super class..therefore method2 of super class would be called and then the method1 of super class would be called coz a call to method1 of super class is being made from within the method2 of super class.
therefor the ouptut would be
Parent's method2()
Parent's method1()
now lets take an example of references.
class Parent
{
String message = "Parent";
public void getMessage()
{
System.out.println("hi this is parent class");
}
}
class Child extends Parent
{
String message="Child";
public void getMessage() //overtriding the method getMessage()
{
System.out.println("hi this is child class");
}
public static void main(String[] args)
{
Child c = new Child();
Parent p = new Parent();
c.getMessage() // getMessage of class Child would be called
p.getMessage() // getMessage() of Parent Class would be called
Parent pp = c;
pp.getMessage() // getMessage of Child Class would be called because at runtime it would be checked that the object c is of Which class and not the reference.
// but in case of variables its different the class of the reference is checked therefore pp.message would be called of Parent Class.

Hope this solves reference funda in detail..
Thanks
Rajeev Sachdev
could anyone tell me :-
how to bind a local JNDI name with the global JNDI name ins WebSphere Studio Application Developer 4.0.3.
thnx
Rajeev Sachdev
17 years ago
if anyone could help me out with the following queries:
1. How to configure WebSphere Application Server 4.0?
2. How to deploy EJBs on WebSphere Application Server 4.0?
3. How to deploy Servlets and JSPs on WebSphere Application Server 4.0?

Your soon response would be highly appreciated
Sincerely,
Rajeev Sachdev
17 years ago
thanx man...if u have any doubts i can always help you out..please let me know...and also tell me what are u doing these days..where are u from and stuf like that..anyways thanx for your reply..
waiting for ur reply.
Rajeev Sachdev
17 years ago
well i have nokia 7650 and i have uploaded my .jad and .jar file on the remote server..i would like to know how to downlad that .jad file on my mobile and what all setting do i need to make inorder to get it working.
thanx
Rajeev
17 years ago
hi ranchers
can anyone let me know how can we connect 2 midlets and in turn connect to a servlet
thnx
Rajeev Sachdev
17 years ago
can anyone let me know how to download .jad file on a mobile via OTA(over the air
thanx
Rajeev Sachdev
17 years ago