100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CSIS 212 Final Exam - Question and Answers

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
08-01-2022
Written in
2021/2022

CSIS 212 Final Exam - Question and Answers CSIS 212 Final Exam with Answers Liberty 1. Which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails? Suppose randomNumbers is a SecureRandom object. 2. Overloaded methods always have the same _________. 3. The identifiers in an enumeration ________. 4. Declaring main as static allows the JVM to invoke main ________. 5. Variables should be declared as fields only if ________. 6. The package contains classes for manipulating all of the following items except ________. 7. Which set of statements totals the items in each row of two-dimensional array items, and displays each row’s total? 8. Which of the following statements is false? 9. A programmer must do the following before using an array: 10. How many Book objects are created by the following statement? 11. In Java, multidimensional arrays ________. 12. What do the following statements do? 13. A constructor cannot: 14. Constructors: 15. Which syntax imports all static members of class Math? 16. Using public set methods helps provide data integrity if: 17. Instance variables declared final do not or cannot: 18. When no access modifier is specified for a method or variable, the method or variable: 19. Overriding a method differs from overloading a method because: 20. Which statement is true when a superclass has protected instance variables? 21. Which of the following statements is false? 22. Which superclass members are inherited by all subclasses of that superclass? 23. To avoid duplicating code, use ________, rather than ________. 24. Using the protected keyword also gives a member: 25. Which of the following is not a superclass/subclass relationship? 26. Which of the following keywords allows a subclass to access a superclass method even when the subclass has overridden the superclass method? 27. The default implementation of method clone of Object performs a ________. 28. Consider the classes below, declared in the same file: Which of the statements below is false? 29. Private fields of a superclass can be accessed in a subclass 30. Superclass methods with this level of access cannot be called from subclasses. 31. When a subclass constructor calls its superclass constructor, what happens if the superclass’s constructor does not assign a value to an instance variable? 32. Every class in Java, except ________, extends an existing class. 33. Which of the following is the superclass constructor call syntax? 34. The default equals implementation of class Object determines: 35. Which of the following statements is false? 36. When a superclass variable refers to a subclass object and a method is called on that object, the proper implementation is determined at execution time. What is the process of determining the correct method to call? 37. Which of the following statements is false? 38. Which of the following is not possible? 39. Every object in Java knows its own class and can access this information through method . 40. Which keyword is used to specify that a class will define the methods of an interface? 41. Which of the following statements is false? 42. Non-abstract classes are called ________. 43. Which statement best describes the relationship between superclass and subclass types? 44. Polymorphism enables you to: 45. Which of the following is false? 46. Which of the following statements is false? 47. It is a UML convention to denote the name of an abstract class in ________. 48. Which of the following could be used to declare abstract method method1 in abstract class Class1 (method1 returns an int and takes no arguments)? 49. Classes and methods are declared final for all but the following reasons: 50. A(n) ____________ class cannot be instantiated.

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
January 8, 2022
Number of pages
10
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
reviewnurse Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
1462
Member since
5 year
Number of followers
1406
Documents
4849
Last sold
4 months ago
NURSING, ECONOMICS, MATHEMATICS AND HISTORY MATERIALS

BEST TUTORING, HOMEWORK HELP, EXAMS, TESTS AND STUDY GUIDE MATERIALS WITH GUARANTEE OF A+ I am a dedicated medical practitioner with diverse knowledge in matters Nursing and Mathematics. I also have an additional knowledge in Mathematics based courses (finance and economics)

3.7

249 reviews

5
121
4
41
3
29
2
19
1
39

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions