Results 1 to 2 of 2
  1. #1
    jmohandos304 is offline Senior Member
    Join Date
    Apr 2014
    Rep Power

    Default Difference between operator and method

    I know instanceof is an operator and println is a method. But what is the difference between the two? How are they different/same?

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    The Netherlands
    Rep Power

    Default Re: Difference between operator and method

    instanceof is builtin in the language, while you create methods yourself (or the Java API developers). This is comparing apples with elephants.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. Unary operator and binary operator
    By in forum New To Java
    Replies: 10
    Last Post: 08-27-2013, 04:39 PM
  2. Replies: 5
    Last Post: 01-22-2012, 12:02 AM
  3. Replies: 1
    Last Post: 10-06-2011, 02:26 PM
  4. Replies: 6
    Last Post: 02-11-2009, 11:51 AM
  5. Method/Operator Overloading
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-01-2007, 09:33 PM

Posting Permissions

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