Java Programming and Technical Programming Basics

Which exceptions should be explicitly handled or properly propagated?

A. Unchecked exceptions
B. Checked exceptions
C. Errors
C. None of the above

Read Solution (Total 1)

Java Other Question

Identify the correct options from the classes provided below.
More than one may be correct.

A. import static edu.ABC.model.Account.*;
public class Loan {
public double getInterest() {
return INTEREST_RATE;
}
}

B. import static edu.ABC.model.Account ;
public class Loan {
public double getInterest() {
return INTEREST_RATE;
}
}

C. import edu.ABC.model.Account ;
public class Loan {
public double getInterest() {
return Account.INTEREST_RATE;
}
}

D. package edu.ABC.model;
public class Loan {
public double getInterest() {
return INTEREST_RATE;
}
}
Exception is an abnormal event or error that occurs during ________

A. Runtime
B. Compile time
C. any time - unpredictable
D. Any of these options