MySQL interview questions part 7

MySQL interview questions part 7

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. When are the array of objects without any initialization useful?

Correct Answer is : TRUE

2. If constructor arguments are passed to objects of array then ____________ if the constructors are overloaded.

Correct Answer is : MD5()

3. How the objects of array can be denoted?

Correct Answer is : both integers and a string

4. The objects in an object array _______________________

Correct Answer is : !#

5. The Object array is created in _____________________

Correct Answer is : FALSE

6. If an array of objects is of size 10 and a data value have to be retrieved from 5th object then ________________ syntax should be used.

Correct Answer is : CACHE INDEX

7. Can we have two dimensional object array?

Correct Answer is : LEAVE

8. From which index does the array of objects start?

Correct Answer is : a non-zero value

9. Two dimensional array can’t be initialized with the declaration.

Correct Answer is : FALSE

10. Is an array of characters always a string?

Correct Answer is : –force

11. What is reference to an object?

Correct Answer is : -lm

12. Whenever an object is assigned to a variable or passed to a method, ________________

Correct Answer is : -o

13. Does use of object reference in assignment or passing means copy of the object is being used?

Correct Answer is : makefile

14. What will be the output of the following code? import java.awt.Point; class Testing { public static void main(String[] args) { Point p1,p2; p1=new Point(100,100); p2=p1; p1.x=200; p1.y=200; System.out.println(“Point 1: ” + p1.x + ”, “ + p1.y); System.out.println(“Point 2: ” + p2.x + ”, “ + p2.y); } }

Correct Answer is : -lm

15. Is there any explicit use of pointers in java that would be applicable to objects?

Correct Answer is : -o

16. Can a super class object give reference to a subclass method?

Correct Answer is : makefile

17. What will be the output of the following code? import java.awt.Point; class Testing { public static void main(String[] args) { Point t1,t2,t3; t1=new Point(100,100); t2=t1; t3=t1; t1.x=200; t1.y=200; t2.x=300; t3.y=500; System.out.println(“Point 1: ” + p1.x + ”, “ + p1.y); } }

Correct Answer is : -I

18. If a reference variable is declared final then, _________________

Correct Answer is : -lmysqlclient

19. Which of the members are referred by this pointer usually (Java)?

Correct Answer is : TRUE

20. How to refer to method of nested class?

Correct Answer is : pkg-config

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon