How many objects will be created?String a = new String("Examveda");String b = new String("Examveda");String c = "Examveda";String d = "Examveda";
A). 4
B). 3
C). 2
D). None of this
3
Object will be created each time whenever we use new keyword. So, 2 object will be created simply for the first two line and matter is with remaining two bottom line. String c="examveda" creates an object and store it in String pool, next time when we are writing String d="examveda" it will first check in String pool whether object already exists or not. Since, it is existing, no new object will be created. Hence reference "d" points to existing object "examveda". So ultimately 3 object will be created at the end.
1. Which of the following statements is not true
2. What function does a serial interface perform in data communication?
5. In unsupervised data mining, explanations are created after patterns are found.
7. An expert system differs from a database program in that only an expert system:
8. Match the device driver HIMEM.SYS to its operation.
9. Which tag is used to add columns to tables ?1. <td>2. <tr>3. <th>4. <colspan>
10. Which of the following statements in regard to directories is false?