Adblocker Detected

Adblocker

Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.

Oracle Sun Certified Java Programmer Skill Assessment

Quizack provides Oracle Sun Certified Java Programmer MCQ practice question answers in an interactive format.

Oracle Sun Certified Java Programmer MCQ

Learn and practice your skills with our MCQ question answers to improve your knowledge. MCQs list

Start Practice with MCQs

Oracle Sun Certified Java Programmer Online Quiz

Quizack 10 minutes test will assess your knowledge and give you comprehensive results along feedback.

Start Quiz
Used by 100s of Jobseekers and students

Used by 100s of Jobseekers and students

Focused questions for skill assessment

Focused questions for skill assessment

Premium questions with correct answers

Premium questions with correct answers

Related Skill Assessment

Free Sample Questions for Oracle Sun Certified Java Programmer

What are the rules for checked exceptions in overriding a method?

You must implement every abstract method in the abstract class - as well as every method defined in the interface. Except... however - if a supertype has already made implementation of the abstract methods.

The override cannot throw BROADER exceptions nor NEW exceptions. If an exception is a subclass of the original exception - it can be thrown and still be an override. The override can also throw less exceptions.

.values()

Access modifiers - abstract modifier - other non-access modifiers - return type - method name - parenthesis - semi-colon. e.g.: public abstract String getName();

Answer:
The override cannot throw BROADER exceptions nor NEW exceptions. If an exception is a subclass of the original exception - it can be thrown and still be an override. The override can also throw less exceptions.

Putting abstract and final in the class declaration will give you a run-time or compile time error?

Object type - ellipsis - object reference variable. e.g. doStuff(String ... necklace) { }

Yes - it is. Identifiers can begin with currency symbols.

In the same package it can be public - protected - or default and cannot be final or private.

At compilation

Answer:
At compilation