Exam 3: Introduction to Objects and Inputoutput
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of Java50 Questions
Exam 3: Introduction to Objects and Inputoutput50 Questions
Exam 4: Control Structures I: Selection50 Questions
Exam 5: Control Structures II: Repetition50 Questions
Exam 6: Graphical User Interface Gui and Object-Oriented Design OOD50 Questions
Exam 7: User-Defined Methods50 Questions
Exam 8: User-Defined Classes and Adts50 Questions
Exam 9: Arrays50 Questions
Exam 10: Inheritance and Polymorphism50 Questions
Exam 11: Handling Exceptions and Events50 Questions
Exam 12: Advanced Guis and Graphics49 Questions
Exam 13: Recursion50 Questions
Exam 14: Searching and Sorting50 Questions
Select questions type
Which package is automatically imported by the Java system?
(Multiple Choice)
5.0/5
(46)
In a format specifier, if the flag is set to 'l', then the output of the result is left justified.
(True/False)
4.7/5
(35)
Which of the following is a valid statement? (i) int num = new int(67); (ii) String name = new ("Doe"); (iii) String name = "Doe";
(Multiple Choice)
4.9/5
(38)
Given int num; the value of num is directly stored in its memory space.
(True/False)
4.9/5
(34)
Suppose that name is a String variable. Then the following two statements are equivalent. name = "Danny"; name = new String("Danny");
(True/False)
4.7/5
(33)
What happens when JOptionPane.PLAIN_MESSAGE is chosen as the messageType parameter?
(Multiple Choice)
4.7/5
(42)
Suppose str is a String variable. The statement str = new String("Programming"); is similar to which of the following?
(Multiple Choice)
4.9/5
(30)
When writing output to a file, if the file is not closed at the end of the program, you may not be able to view your output properly.
(True/False)
4.8/5
(44)
What will most probably happen if you omit the dot operator when accessing a method?
(Multiple Choice)
4.8/5
(33)
Which of the following method is contained in the package java.util?
(Multiple Choice)
4.9/5
(40)
Reference type variables directly store data into their memory space.
(True/False)
4.9/5
(44)
Consider the following statements. double x; String y; y = String.format("%.2f", x); If x = 285.679, what is the value of y?
(Multiple Choice)
4.8/5
(40)
The statement System.exit(0); is found at the end of every working Java program.
(True/False)
4.7/5
(34)
Which of the following is an area of secondary storage used to hold information?
(Multiple Choice)
4.8/5
(37)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)