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");}

Related Posts:

  • Introduction to Software Testing Software Testing:  The process of verifying or validating an application with the intention of finding bugs or defect in software so that it could be corrected before product is delivered to the end user.   … Read More
  • Software Development Life Cycle (SDLC) SDLC:  A Framework containing the Processes, Activities, and the Tasks involved in the development, operation and maintenance of a software project (spanning the life of the system) from the definition of its requir… Read More
  • Retrieve Test Data from an Excel file with Apache POI A Java Program to retrieve the data from an excel file?   Below is the code to read .xlsx file.                                XSSFWorkbo… Read More
  • STLC (Software Testing Life Cycle) Software Testing Life Cycle: Below is the summary of STLC along with Entry and Exit Criteria: Following phases are involved in STLC: Requirement Analysis Test Planning Test case development Test Environment setup Test Execu… Read More
  • Why String is Immutable? What is mean by immutable object/class? Assume we have a below class A as mutable: Class A{ int i = 10; int j = 20; A a = new A(); } a.i = 30; a.j = 40; Changing state of objects, so A is mutable. Immutable: once o… Read More

0 comments:

Post a Comment

Selenium Training in Realtime

Blog helps to a student or IT employee to develop or improve skills in Software Testing.

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