download Mastguru Android App

Question Detail

x=x+1 is equivalent to

  • ++x
  • x++
  • x=x-1
  • None of these
Similar Questions :

1. Which driver is called as thin-driver in JDBC

  • Type-1 driver
  • Type-2 driver
  • Type-3 driver
  • Type-4 driver

2. Smallest individual unit in java program is known as

  • string
  • literal
  • token
  • operator

3. Process of creating exact copy of the existing object is called

  • cloning
  • overloading
  • overriding
  • coping

4. Methods that have same name, but different Parameter list and different definition known as

  • Overriding
  • Constructor
  • Overloading
  • none of these

5. Suspend thread can be revived by using

  • start() method
  • Suspend() method
  • resume() method
  • yield() method
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment

  • Nandhakumar 11 years ago

    ans is D,becoz X=X+1 equivalent is X += 1, not X++