0% found this document useful (0 votes)
11 views

IT201 Object-Oriented Programming Reviewer

Uploaded by

Justin Pimentel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

IT201 Object-Oriented Programming Reviewer

Uploaded by

Justin Pimentel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

IT201 (Object-Oriented

Programming) Reviewer

HISTORY OF JAVA:
Java was discovered by James Gosling

Sun Microsystem

in 1990’s it became available to the public

an American technology company that sold computers, computer components,


software, and information technology services and created the Java
programming language

CHARACTERISTICS OF JAVA:
1. Platform Independent

2. Is a Compiled & Interpreted Language

3. Is Multithreaded Environment

4. Is a simple PL & Easy to Learn

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

IT201 (Object-Oriented Programming) Reviewer 1


a class in Java that accepts inputs from the keyboard

import java.util.Scanner or java.util.*

IDE of Java
1. Netbeans

2. Eclipse

3. J++

4. JCreator - does have Intellisense

5. BlueJ - Designed & developed by Ateneo students

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

IT201 (Object-Oriented Programming) Reviewer 2


used to process the input and produce the output. Java uses the concept of a
stream to make I/O operation fast. The java.io package contains all the classes
required for input and output operations

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 java.util.* or import java.util.Scanner

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

IT201 (Object-Oriented Programming) Reviewer 3

You might also like