Sunday, January 27, 2019

Lambda Expressions: It is a anonymous(nameless) function. It does not has method name, method return type nor modifiers
           General Method:
                 public void m1(){
                          System.out.println("Hello world");
                 }
           Converting above method into lamda expression:
           for that we use '->' symbol
           no method name,no return type and no modifiers
           () -> {System.out.println("Hello world");}

0 comments:

Post a Comment

selenium-repo by venu

Blog helps to a student or IT employee to develop or improve skills in Software Testing.
For Online Classes Email us: gadiparthi122@mail.com

Followers

About Me

My photo
Hyderabad, Andhra Pradesh, India
I am Automation Testing Professional. I have completed my graduation in B.Tech (Computers) from JNTU Hyderabad and started my career in Software Testing accidentally since then, I passionate on learning new technologies

Contact Form

Name

Email *

Message *

Popular Posts