IT201 Object-Oriented Programming Reviewer
IT201 Object-Oriented Programming Reviewer
Programming) Reviewer
HISTORY OF JAVA:
Java was discovered by James Gosling
Sun Microsystem
CHARACTERISTICS OF JAVA:
1. Platform Independent
3. Is Multithreaded Environment
JVM
Java Virtual Machine
compiler of Java; translates Java; converts source code into executable file
JOptionPane
import javax.swing.JOptionPane
a class library that makes it easy to pop up a simple dialog box that either provides
an information message or asks for a simple input from the user
Scanner Class
IDE of Java
1. Netbeans
2. Eclipse
3. J++
Looping Statement
statement in Java that perform repetitive task
Loop
a sequence of instruction s that is continually repeated until a certain condition is
reached
Java Swing
a lightweight Java graphical user interface (GUI) widget toolkit that includes a rich
set of widgets
Components:
Java IO
Java I/O package, a.k.a. java.io, provides a set of input streams and a set of
output streams used to read and write data to files or other input and output
sources. There are three categories of classes in java.io: input streams, output
streams and everything else
Other Packages
import java.io
import javax.swing.*
import javax.swing.JOptionPane
import java.awt
import java.awt.Color
import java.awt.Font
import java.event.ActionEvent
import java.event.ActionListener
import java.text.DecimalFormat
import javax.swing.JLabel
import javax.swing.JPanel