no that is short cut.But I guess behind the scenes new String() is called.

--- On Fri, 27/11/09, Kamal Chandana Mettananda <[email protected]> wrote:


From: Kamal Chandana Mettananda <[email protected]>
Subject: Re: [java ee programming]
To: "prabu504" <[email protected]>
Cc: "java-ee-j2ee-programming-with-passion" 
<[email protected]>
Date: Friday, 27 November, 2009, 5:53 AM



Just to add one more to this list: 

String s = "my text";

This also creates a new object (without new keyword).

---------------------------------------

http://lkamal.blogspot.com






On Fri, Nov 27, 2009 at 9:04 AM, d bhagavan <[email protected]> wrote:





Cloning also one of the methods for creating new objects..

Aditya.

--- On Thu, 26/11/09, Lsn.Murthy <[email protected]> wrote:


From: Lsn.Murthy <[email protected]>
Subject: Re: [java ee programming]
To: [email protected]
Cc: [email protected]
Date: Thursday, 26 November, 2009, 1:33 PM


Using Factory classes.

prabu vaikundanarayanan wrote:
> hi every one,,
>
>
>           could any one please tell me how to create objects with out
> using new keyword
>
>
> thanks in advance
>
>
> Regards
> Prabu
>
>   

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en



The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to