Tag: programming languages

Questions Related to programming languages

package simplejava; public class TestConstructor1 { int p; TestConstructor1() { System.out.println("I am in Constructor"); } TestConstructor1(int p) { this.p =p; System.out.println("p = "+p); this(); } public static void main(String[] args) { TestConstructor1 tp1 = new TestConstructor1(10); } }

  1. Exception

  2. Compiler Error

  3. p = 0

  4. p=10


Correct Option: B

2) Expand ROW

  1. A) Row of lock

  2. B) Row of locking

  3. C) Row level lock

  4. D) Row level locking


Correct Option: D
  1. A) Descending order

  2. B) Ascending order

  3. C) None

  4. D) Any order


Correct Option: B
  1. A) Returns the minimum value in a set of column values

  2. B) Returns the minimum value in a set of row values

  3. C) Returns the minimum value in a set of values

  4. D) None


Correct Option: C