Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You write java code, when testing and capturing for exception condition, Must yo

ID: 3583211 • Letter: Y

Question

You write java code, when testing and capturing for exception condition, Must you use try & catch pair? Could you define your own exception procedure? When it is good idea to use exception class? You are coding a derived class from base (super) class name: GradeA_level_mgr, and you named your derived class as: GradeB_level_mgr, what should be your class name definition statement? Regarding class methods: Describe briefly, what is a method's signature. Describe briefly, under what situation that method overriding is happening. Describe briefly, under what situation that method overloading is happening.

Explanation / Answer

18)

Line1) [ x ] Yes

Line2) [ x ] yes

Line3) [ x ] when accessing remote data file or system which you have no idea when the status are.

19)

public class GradeB_level_mgr extends GradeA_level_mgr

{

//Code inside the sub class

}

20)

Line1) [ x ] the method name and its parameters

Line2) [ x ] override happens when the derived class and super class has the same signature methods.

Line3) [ x ]overLoad happens when the derived class and super class have different signature methods with same name.

_____________Thank You

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote