Coursera Courses Answers. 100% correct answers guaranteed. Covered every possible question for free.

Search This Blog

Breaking

Saturday, 25 July 2020

4. Object-Oriented Programming with Java

Object-Oriented Programming with Java

by Coursera Project Network

Graded Quiz Answers :

1.Question 1

Which of the following statements about object-oriented programming is INCORRECT?

1 / 1 point

2.Question 2

Which of the following keyword is used in Java to define the blueprint of an object?

1 / 1 point

3.Question 3

In Java, which of these is a correct statement to call the constructor of the ancestor class named "Animal" with no parameters?

1 / 1 point

4.Question 4

If we want to extend a base class called "Flower" and call it "Rose", which of these is the correct syntax to do that in Java?

1 / 1 point

5.Question 5

Which of the follow statement is CORRECT about abstraction?

1 / 1 point

6.Question 6

In Java, if we have a property String secretCode, which of these declarations hides it from other users of the objects?

1 / 1 point

7.Question 7

Which of these statements about polymorphism is correct?

1 / 1 point

8.Question 8

If we want a method public double offerBestPrice( ) in our object to have a completely different algorithm than the one in the ancestor class, how would we redefine it in our object?

1 / 1 point

9.Question 9

What does the Java keyword "protected" do?

1 / 1 point

10.Question 10

Which of the following statements about constructors in Java is CORRECT?

1 / 1 point

No comments:

Post a Comment

If you have any doubts, please let me know.