Exam 6: Methods: a Deeper Look
Exam 1: Introduction to Computers, the Internet and Java40 Questions
Exam 2: Introduction to Java Applications; Inputoutput and Operators33 Questions
Exam 3: Introduction to Classes, Objects, Methods and Strings32 Questions
Exam 4: Control Statements: Assignment, and Operators39 Questions
Exam 5: Control Statements: Logical Operators26 Questions
Exam 6: Methods: a Deeper Look38 Questions
Exam 7: Arrays and Arraylists46 Questions
Exam 8: Classes and Objects: a Deeper Look28 Questions
Exam 9: Object-Oriented Programming: Inheritance20 Questions
Exam 10: Object-Oriented Programming: Polymorphism and Interfaces34 Questions
Exam 11: Exception Handling: a Deeper Look27 Questions
Exam 12: Javafx Graphical User Interfaces22 Questions
Exam 13: Javafx Gui20 Questions
Exam 14: Strings, Characters and Regular Expressions26 Questions
Exam 15: Files, Inputoutput Streams, Nio and Xml Serialization30 Questions
Exam 16: Generic Collections36 Questions
Exam 17: Lambdas and Streams67 Questions
Exam 18: Recursion15 Questions
Exam 19: Searching, Sorting and Big O22 Questions
Exam 20: Generic Classes and Methods: a Deeper Look13 Questions
Exam 21: Custom Generic Data Structures17 Questions
Exam 22: Concurrency54 Questions
Exam 23: Accessing Databases With Jdbc34 Questions
Exam 24: Swing Gui Components78 Questions
Exam 25: Graphics and Java 2d19 Questions
Exam 26: Networking13 Questions
Exam 27: Java Persistence Api Jpa16 Questions
Exam 28: Javaserver Faces Web Apps15 Questions
Exam 29: Javaserver Faces Web Apps7 Questions
Exam 30: Swing Gui Components26 Questions
Select questions type
Math static method random generates a random double value in the range from 0.0
(Multiple Choice)
4.8/5
(36)
Which of the following methods are overloaded with respect to one another? public int max (int a, int b) { … }
Public double max (double a, double b) { … }
Public int max (int a, int b, int c) { … }
Public double max (double a, double b, double c) { … }
(Multiple Choice)
4.8/5
(34)
Which of the following promotions of primitive types is not allowed to occur?
(Multiple Choice)
4.7/5
(36)
A Java class can have which of the following methods?
A. void foo(int a)
B. void foo(int a, int b)
C. void foo(double a)
D. void foo(double a, double b)
E. void foo(int b)
(Multiple Choice)
4.8/5
(36)
Method log takes the logarithm of its argument with respect to what base?
(Multiple Choice)
4.9/5
(39)
In a class containing methods with the same name, the methods are distinguished by ________.
(Multiple Choice)
4.8/5
(35)
The jjava.text package contains classes for manipulating all of the following items except ________.
(Multiple Choice)
4.9/5
(30)
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.
(Multiple Choice)
4.9/5
(24)
To declare a method as static, place the keyword static before ________ in the method's declaration.
(Multiple Choice)
4.8/5
(36)
If more method calls occur than can have their activation records stored on the program execution stack, an error known as a ________ occurs.
(Multiple Choice)
4.8/5
(40)
Showing 21 - 38 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)