Answer these 90+ Introduction to Java MCQs and assess your grip on the subject of Introduction to Java. Scroll below and get started!
A. Parentheses
B. Braces
C. Brackets
D. Quotes
A. Fields; object names
B. Fields; methods
C. Relationships; methods
A. One byte
B. Two bytes
C. Three bytes
D. Four bytes
A. Exe
B. Class
C. Java
D. Js
A. Public void actionPerformed(ActionEvent e)
B. Public void actionPerformed(Event e)
C. Public void handle(ActionEvent e)
D. Public void handle(Event e
A. ActionEvent
B. Action
C. EventHandler
D. EventHandler
A. Anonymous
B. Inherits
C. Length()
D. Reference
A. Indefinite
B. Definite
C. Counter-controlled
D. Incrementing
A. Parentheses
B. Declaration
C. Abstraction
D. Accessor
A. Abstract
B. Overloaded
C. Interface
D. Implementation
A. RuntimeException
B. Error
C. Checked exceptions
D. Unchecked exceptions
A. A static method can _______.call only other static methods of the same class directly
B. Manipulate only static fields in the same class directly
C. Be called using the class name and a dot (.)
D. All of the above
A. Comes into scope
B. Integer
C. Inner class
D. Reference
A. Static
B. Const
C. Constant
D. Final
A. Brackets
B. Parentheses
C. Curly braces
D. Quotation marks
A. Prefix increment
B. Accumulating
C. Incrementing
D. Priming read
A. %b
B. %d
C. %f
A. Class
B. Data type
C. Argument
D. Data field
A. Single quotes; double quotes
B. Standard output device
C. Identifiers can contain spaces
D. String concatenation operator
A. Data fields
B. Modifiers
C. Accessors
D. Arguments
A. Secure
B. Private
C. Static
D. Masked
A. ImageIcon
B. Object
C. SetText
D. Private
A. Member
B. Accessor
C. Mutator
D. Method
A. High-performance
B. Logic-error-free
C. Fault-tolerant
D. Compilation-error-free
A. Scanner
B. Printer
C. None of these
A. Low is 4 and high is 6
B. List1 is 2.5 3.1, 3.1, 6.4
C. Java.util.Arrays.sort(scores)
D. -(insertion point + 1
A. Polymorphism
B. Syntax
C. Applets
D. Loops
A. ClassCastException
B. Is executed
C. Throwable
D. Print
A. Float
B. Int
C. Char
A. The loop control variable is false
B. ++score = score + 1
C. Event-controlled
D. Prefix increment operator
A. Int
B. Scan
C. String
D. Double
E. Char
A. Dots.
B. Pixels.
C. Points.
D. Inches
A. A Java keyword
B. A Boolean literal
C. Same as value 1
D. Same as value 0
A. Variables
B. Literals
C. Key words
D. Comments
A. Constant
B. \n
C. Input
D. Int
A. . nested
B. Loop
C. Get
D. New
A. *
B. #
C. $
A. The method name
B. That method's return
C. The method body
D. The arguments to the method
A. 0.0, 0.5
B. X.get(0)
C. X.clear()
D. X.size
A. Infinite
B. Variable
C. Negative
D. Validating data
A. Applications
B. Applets
C. Servlets
D. Micro Edition programs
A. JOptionPane
B. Vehicle.class
C. Semicolon
D. Encapsulation
A. Class, block
B. Color
C. Math.sqrt(900);
D. Classes
A. Client operating systems
B. Object-oriented languages
C. Thin-client applications
D. Structured queries
A. Java.util.ArrayList
B. Java.util.LinkedList, java.util.List
C. Java.util.AbstractList
D. Java.util.Vector
E. Java.util.List
A. Backslash
B. Case sensitive
C. The same
D. Slashes
A. Initialized when they're declared
B. Initialized before their values are used in expression
C. Declared and initialized in two steps
D. Declared at the top of the main method's body
A. Return type
B. Class, block
C. Method name
D. The return type
A. Mutator
B. Modifier
C. Access
D. Creator
A. False
B. Variable
C. True
D. Pause