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.
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.
Have you heard of Lambda expressions?
http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html