Wednesday, 5 June 2013

Java Interview Questions and Answers PDF Free Download : Set No. 1

Java Interview Questions And Answers Pdf For Freshers | Experienced Set No. 1
Core Java Interview Questions PDF

Hello Friends,

Here is  a list of pdf files for java interview questions. You can download and start learning...

How to download:

Click below links and then on the right corner side click skip button. 
your download will automatically start in  5 seconds.....

1. core java interview question pdf 
2. 129 core java interview question pdf 
3. core java interview question pdf
4. Infosys Most likely asked core java   interview questions Pdf 
5. set of 30 java questions pdf






Monday, 28 January 2013

SCJP DUMPS 2012 2013 |OCJP DUMPS::Collections And Generics Q.1


OCJP DUMPS | SCJP DUMPS 2012 :
                 COLLECTIONS And GENERICS Dumps :

Question NO..1

Given:

import java.util.*;
public class Group extends HashSet<Person> {
public static void main(String[] args) {
Group g = new Group();
g.add(new Person("Hans"));
g.add(new Person("Lotte"));
g.add(new Person("Jane"));
g.add(new Person("Hans"));
g.add(new Person("Jane"));
System.out.println("Total: " + g.size());
}
public boolean add(Object o) {
System.out.println("Adding: " + o);
return super.add(o);
}}
class Person {
private final String name;
public Person(String name) { this.name = name; }
public String toString() { return name; }
}
Which of the following occur at least once when the code is compiled and run?
(Choose all that apply.)
A. Adding Hans
C. Adding Jane
E. Total: 5
B. Adding Lotte
D. Total: 3
F. The code does not compile.
G. An exception is thrown at runtime.



   Check Answer:              F

F is correct. The problem here is in Group's add() method—it should have been
add(Person), since the class extends HashSet<Person>. So this doesn't compile.
Pop Quiz: What would happen if you fixed this code, changing add(Object) to
add(Person)? Try running the code to see if the results match what you thought.
-> A, B, C, D, E, and G are incorrect based on the above.



Related Questions::

1. Scjp Ocjp dumps 2012: Question no 1.
2. Scjp Ocjp Dumps : Question no. 2
3 .SCJP certification dumps |Ocjp dumps| Ocjp 1.6 dumps.

Friday, 11 January 2013

Java Softwares :Free Download Latest JAVA SE JDK 7u10,Software Review

Free Download Latest JAVA SE JDK 7 Software :

         This is the latest java software of JDK 7 version with the new update 10.
      
This releases brings in key security features and bug fixes.  Oracle strongly recommends that all Java SE 7 users upgrade to this release. JavaFX 2.2.4 is now bundled with the JDK on Windows, Mac and Linux x86/x64.

for free download your can click below ....


         Click here to  Download Now


Monday, 24 December 2012

SET NO .1 QUESTION NO. 3: OCJP 1.6 DUMPS,SCJP DUMPS


OCJP DUMPS|SCJP DUMPS|SCJP(OCJP) 1.6 CERTIFICATION QUESTIONS


Given:


11.  public interface Status {

12.  /* insert code here */ int MY_VALUE = 10;

13.      }



Which three are valid on line 12? (Choose three.)

A.  final

B.  static

C.  native

D.  public

E.  private

F.  abstract

G.    protected 


ANSWER IS:>       ABD







Previous Articles:





If you want latest ocjp dumps write your email in top right corner section..


If You have any query related about questions.
 please 
give your valuable comments...

Friday, 7 December 2012

Question 2


Given:


10. public class Bar {
11.static void foo(int...x) {
12. // insert code here
13. }
14. }
Which two code fragments, inserted independently at line 12, will allow
the class to compile? (Choose two.)
A. foreach(x) System.out.println(z);
B. for(int z : x) System.out.println(z);
C. while( x.hasNext()) System.out.println( x.next());
D. for( int i=0; i< x.length; i++ ) System.out.println(x[i]);


Check your Answer: BD

Saturday, 22 September 2012

SCJP | OCJP 1.6 DUMPS | JAVA CERTIFICATION QUESTIONS | SCJP QUESTIONS


1 Q.    What is the Result Of this Program.


public class LoadData {
2. public static void main(String[] args) {
3. Object dt1 = new Object();
4. double pay[] = new double[10];
5. double rcv[][] = new double[1][10];
6. pay[0] = 1.0;
7. pay[1] = 2.0;
8. pay[2] = 3.0;
9. pay[3] = 4.0;
10. pay[4] = 5.0;
11. pay[5] = 6.0;
12. pay[6] = 7.0;
13. pay[7] = 8.0;
14. pay[8] = 9.0;
15. pay[9] = 10.0;
16. dt1 = pay;
17. rcv = dt1;
18. System.out.println(rcv[1][1]);
19. }
20. }

A.
Compilation fails because of an error at line 5.
B
Compilation fails because of an error at line 16.
C
Compilation fails because of an error at line 17.
D
Compilation succeeds and the program prints "1.0".
E
Compilation succeeds and the program prints "2.0".
F
Compilation succeeds and the program prints the reference location for pay.

                                Check  Answer Is : C