Results 1 to 5 of 5

Thread: What is the difference between super() and this()?

  1. #1
    Registered
    Join Date
    May 2016
    Posts
    39

    What is the difference between super() and this()?

    What is the difference between super() and this()?

  2. #2
    Registered
    Join Date
    May 2016
    Posts
    62
    super() is used to call super class constructor, whereas this() used to call constructors in the same class, means to call parameterized constructors.

  3. #3
    Registered pxljobs's Avatar
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    290
    The keyword this() used to invoke a constructor of the same class super() can be used to invoke a super class constructor this is the main difference of the super and this keyword.

  4. #4
    this() can be used to invoke a constructor of the same class

    super() can be used to invoke a super class constructor

  5. #5
    super() is used to call super class constructor, whereas this() used to call constructors in the same class, means to call parameterized constructors.

Similar Threads

  1. what is the difference between ppc and cpc
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 4
    Last Post: 04-21-2017, 03:54 AM
  2. What is the difference between CPA and CPC?
    By Shivangi Panwar in forum Search Engine Optimization
    Replies: 1
    Last Post: 06-20-2016, 03:45 AM
  3. What are the Difference between SMO and PPC
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 12-01-2015, 05:10 AM
  4. What is the Difference between PPC and SMO
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 09-30-2015, 08:12 AM
  5. .com, .net, .us and .info any difference?
    By organ in forum Search Engine Optimization
    Replies: 7
    Last Post: 04-26-2006, 12:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •