Re: [BOJUG] Abridged summary of bojug@googlegroups.com - 5 Messages in 1 Topic

20 views
Skip to first unread message

Raghavendra M

unread,
Apr 14, 2013, 1:12:53 PM4/14/13
to bo...@googlegroups.com


On Sat, Apr 13, 2013 at 1:12 PM, <bo...@googlegroups.com> wrote:

Group: http://groups.google.com/group/bojug/topics

    shweta sharma <shwe...@gmail.com> Apr 03 04:47PM +0530  

    Hi All,
     
    I have little doubt in use of abstract keyword...
     
    abstract classes cannt be instantiated . ( normally)
    but this can be overruled by anonymous classes.
    then what is the use of having ...more
    Mohammed Sanaulla <sanau...@gmail.com> Apr 12 06:03PM +0530  

    Creating Anonymous Inner classes is not creating an instance of the
    abstract class/interface. Anonymous class extends/implements the abstract
    class/interface on which the "new" is being invoked. ...more
    Siddharth Krish <siddhar...@gmail.com> Apr 12 06:29PM +0530  

    Hi Shweta,
     
    When you create an anonymous class, you're doing exactly that; creating a
    class, it just so happens that this class doesn't have a name. in the
    example you're given above, your ...more
    Ashok Renukappa <frnd4u...@gmail.com> Apr 12 06:34PM +0530  

    Going by the way anonymous classes behave, it creates a new class
    definition all together.
     
    So in this case.
     
    It creates a class called <EnclosingClassName>$1 as class name.
    Where in ...more
    Suresh <suresh....@gmail.com> Apr 12 09:13AM -0400  

    Anonymous class is a concrete class with no name. There is no abuse or
    overrule of abstract method here.
    Example:
    public class Test {
    public static void main(String[] args){
     
    ConcreteWithName ...more

You received this message because you are subscribed to the Google Group bojug.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "Bangalore Open Java Users Group- BOJUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bojug+un...@googlegroups.com.
To post to this group, send email to bo...@googlegroups.com.
Visit this group at http://groups.google.com/group/bojug?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Santhosh Kumar M K

unread,
Apr 30, 2013, 12:08:11 AM4/30/13
to bo...@googlegroups.com
Not in Java though.... Common in LISP, Scheme, Haskell, even in Javascript I guess.....

Nice to see that it would be in Java 8.... 


From: Raghavendra M <raghavendra...@gmail.com>
To: bo...@googlegroups.com
Sent: Sunday, 14 April 2013 10:42 PM
Subject: Re: [BOJUG] Abridged summary of bo...@googlegroups.com - 5 Messages in 1 Topic

On Sat, Apr 13, 2013 at 1:12 PM, <bo...@googlegroups.com> wrote:
You received this message because you are subscribed to the Google Group bojug.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
--
You received this message because you are subscribed to the Google Groups "Bangalore Open Java Users Group- BOJUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bojug+un...@googlegroups.com.
To post to this group, send email to bo...@googlegroups.com.
Visit this group at http://groups.google.com/group/bojug?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

shweta sharma

unread,
Apr 29, 2013, 7:41:17 AM4/29/13
to bo...@googlegroups.com
No , Never used Lambda expressions

Mohammed Sanaulla

unread,
Apr 29, 2013, 7:55:03 AM4/29/13
to bo...@googlegroups.com
On 14 April 2013 22:42, Raghavendra M <raghavendra...@gmail.com> wrote:
Yeah, I have written a few posts about it http://blog.sanaulla.info/tag/java-8/
And these lambda expressions can be used as replacements to Anonymous Inner classes. 
Reply all
Reply to author
Forward
0 new messages