ITTreats.com
Enter your Search term and Hit "Enter"

Thu, 18 Mar 2010 5:46:23 AM +00:00

Latest 'ITTreats'


SCJP Practice questions – 1

SCJP Practice questions  – 1

Questions
________________________________________
Question 1)
What will happen when you attempt to compile and run this code?
abstract class Base{
abstract public void myfunc();
public void another(){
System.out.println(“Another method”);
}
}
public class Abs extends Base{
public static void main(String argv[]){
Abs a = new Abs();
a.amethod();
}
public void myfunc(){
System.out.println(“My func”);
}
public void amethod(){
myfunc();

}
}
1) The code will compile and run, printing out the words “My Func”
2) The compiler will complain that the Base class has non abstract methods
3) The code will compile but complain at run time that the Base class has non abstract methods
4) The compiler will complain that the method myfunc in the base class has no body, nobody at all to looove it

________________________________________

More . . .

SCJP 1.5 syllabus

SCJP 1.5 syllabus

How is the SCJP 1.5 exam different from the SCJP 1.4?
· Exam objectives: Several important new language features have been added, including enums, generics, static imports, and autoboxing/unboxing. API features added to the exam include java.lang.StringBuilder, java.util.Locale, java.util.Formater, java.util.Scanner. java.util.regex.Pattern, and java.util.regex.Matcher. Java IO features have been added, including File, BufferedReader, BufferedWriter, FileReader, FileWriter and PrintWriter. Concepts such as loose coupling and high cohesion have been added, as well as greater emphasis on encapsulation as it relates to JavaBean conventions. Bit manipulation (e.g., shifting) has been dropped.
· Number of questions: 72 (increased from 61)
· Time: 175 minutes (increased from 120 minutes)
· Passing score: 59% (increased from 52%)
· Level of difficulty: The concensus is that it is more difficult.
· Format of questions: As before, you will always be told how many options to choose. No credit is given for partial answers. Drag-and-drop questions were also introduced for this version of the exam.

Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0 (CX-310-055)
Exam Objectives More . . .