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

keyword is used to inherit properties of the parent class into the child class.

ID: 3881472 • Letter: K

Question

keyword is used to inherit properties of the parent class into the child class. n a class has a method that has the same name and the same number and types of the inherited method. a. b. Whe parameters as an inherited method, then the method is the word used to say that there are no restrictions on the use of a method or data item. d. The Java interpreter translates a Java program fro mto machine language, using thec e. A(n) f. Another term for g. next!nt ( ) and nextLine ( ) are two methods in the class. h. Compiling a file called Game.java will produce a file called i. A constructor with no parameters is called aconstructor. command. statement in a loop will cause the program to immediately exit the loop. is information hiding means "many forms". In programming, it allows different objects to use different method actions for the same method name.

Explanation / Answer

a)Extends keyword is used to inherit properties of the parent class into the child class

b)When class has the method that has the same name and the same number and type of parameters as an inherited method then the method override the inherited method

c)Public is the word used to say that there are no restrictions on the use of a method or data item

d)Java interpreter translates a java program from high level language to machine language using the javac command

e)a(n) break statement in the loop will cause the immediately exit the loop

f)another term for abstraction is information hiding

g)nextInt and nextLine are two methods in the Scanner class

h)compiling the file called Game.class

i)A constructor who is no parameter is called as zero parameter constructor

j)Polymorphism means “many forms”. In programming, it allows different objects to use different method actions for the same method name