If question has output stream, what is the answer?
output stream
This refers to the package that we use to read and write data from different sources.
java.io
class write oriented data into a file; class na kailangan nating mag-create ng object; ginagamit to write data sa ating text file
filewriter
It is used to write the string into a file writer.
Parameter must be in String
Package that we use to import a scanner.
java.lang.Scanner
It reads bytes and decode them into character into specified char sets.
input stream reader
The package we use to import the buffer reader and input stream reader.
java.lang.package
It creates an input stream reader that uses the default char set.
inputstreamreader(inputstream.in)
Which class is used under the java.io.package that is used to gain access to read a file?
fileinputstreamreader
gumagamit ng compareto method, ginagamit natural ordering the objects sa loob ng array
priority cue
TRUE OR FALSE. Object classes does not maintain insertion order and is synchronized; kapag nag-call tayo ng instance ng array na 'yon, mawawala na yung insertion order.
True
TRUE OR FALSE. List can store multiple different data types.
False
If "collection interface," ang package na need i-import.
java.util.package
kapag "an ordered set of elements" // ano yung nagre-rerepreset sa ordered set of elements
set
An API to develop graphical user interface in java.
abstract window kit
text fields, scrollbars, buttons
components
Which of the following packages should you use to import grid layout class?
java.awt.*
TRUE OR FALSE. java.awt.package can only contain grid layout, flow layout, and card layout.
True
What can java.awt.package contain?
grid layout, flow layout, card layout
“Normal implementation of checkbox without string as a label”
checkbox()
What package do we use to implement event handling classes?
java.awt.event
TRUE OR FALSE. Inspecting does not generate any event object, only typing, clicking, and pressing generate event handler or event handling objects.
True
Which among the following does NOT generate any event object?
Typing
Clicking
Inspecting
Pressing
Inspecting
What do you call these: use inner class, event delegation model, use of adapter class
Event handling techniques
Enumerate three event handling techniques
Use inner class
Event Delegation Model
Use of Adapter Class
This refers to the method na nae-envoke natin when an event is being called or kapag nagge-generate tayo ng event object.
events
This represents a graphical element click such as a button or item into a list.
action event
it is the object that LISTENS... from the word "listens,"
listens class object
It is a part of java foundation classes and is used to create various applications.