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

Concrete class A method with same vet dufterent sie a the name, be increased or

ID: 3779966 • Letter: C

Question

Concrete class A method with same vet dufterent sie a the name, be increased or decreased once it deda ed is only visible the it declarea May have an object implemented of is visible within the class it is declared and any other class in veo An object cannot be implemented of yet smethods must ed T/F A unherits all of the class methods T/r A subclass superclass. T/F An object is an instantiation of a class T/F Poly is when w names won 7/F A Formatter object is used to format data with oud, us, euc as na read TVE The try() catch() methods are used A may have more than one catch associated A catch may also be associated to more than one try interfaces are implemented

Explanation / Answer

(F) Method Overloading- A method with same name yet, different signature is method overloading.

(B) Array- It's size cannot be increased or decreased once it is declared.

(K) extends - A sub class extends super class.

(C) Private- is only visible within the class which it is declared.

(I) Concrete class- May have a object implementation of it.

(D) Protected- is only visible within the class or any sub-class of which it is declared.

(E) Public- is visible within the class it is declared and any other class in the program.

(H) Abstract class- An object cannot be implemented of it, yet its method must be compiled with.

(G) Method Overidding- a method in a sub-class with same name and signature as the one in the super class is.

(A) ArrayList- its size may be changed after its has been declared.

A sub-class inherits all of the super class attributes.- True

A sub-class inherits all of the super class methods.- True

A sub class implements a super-class.- False.(Because sub class extends super class but not implements)

An object is an instantiation of a class- True.(Because an object is an istance of class which have state and behaviour.)

Polymorphism is when we have different methods with different names that respond differently.- False.

A Formatter object is used to format data with %d,%s etc as data is read in from a file.- True.

A try may have many catch associated with it.- True.

A catch may also be associated to more than try.- False.

Interfaces are implemented- True.

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