Home TechnologyProgrammingJava Subscribe to RSS

What Is The Function Of "This" In Java?

Answer Question

4 Answers - Sort by: Date | Rating

    Actually "this" is not a function, it is a keyword.It is used to refer any object in the program.
    1 0

    Bulbuljain  

    answered 3 years ago

      "this" keyword in java refers to the current object on which we are working.We use "this" to call the methods or instance variables of the current object.
      1 0

      Dnaveen_be  

      answered 3 years ago

        THIS in java is a keyword which refers to the current object of a class.
        1 0

        John_caleb  

        answered 3 years ago

        It basically returns the current Object.
        0 0

        Krrish_g  

        answered 2 years ago

        More

        More

           
           

          Ask a Question via Twitter

          Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

          Blurtit Store

          Get T-shirts, hoodies, caps and more at the Blurtit store

          Blurtit International