Jelaskan import javax.swing.*; dari Pengaturcaraan berorientasi objek dalam bahasa melayu

public static void main(String a[])

// Prompt user to input five characters and assign it into variable "input"

// Extract 1st character from variable "input".

// NOTE THAT the 1st character is at location zero (0) NOT location one(1).

// Extract 2nd character from variable "input"

// Extract 3rd character from variable "input"

// Extract 4th character from variable "input"

// Extract 5th character from variable "input"

// We also can extract the 1st character of input inserted by the user

char gred = JOptionPane.showInputDialog("Enter a character: ").charAt(0);

// Output statement grouping into one variable that is "out" type of String.

Booch, Grady. (1993) ISBN 0-8053-5340-2 Object-Oriented Analysis and Design with Applications (Second Edition). Addison-Wesley.

Gamma, Erich, Richard Helm, Ralph Johnson, John Vlissides. (1995) ISBN 0-201-63361-2 Design Patterns: Elements of Reusable Object Oriented Software. Addison-Wesley.

Meyer, Bertrand. (1997) ISBN 0-13-629155-4 Object-Oriented Software Construction (Second Edition). Prentice Hall.

Rumbaugh, James, Michael Blaha, William Premerlani, Frederick Eddy, William Lorensen. (1991) ISBN 0-13-629841-9 Object-Oriented Modeling and Design. Prentice Hall.

Jacobsen, Ivar. (1994) ISBN 0-201-54435-0 Object-Oriented Software Engineering: A Use Case-Driven Approach. Addison-Wesley.

Abelson, Harold, Gerald Jay Sussman with Julie Sussman. (1996) ISBN 0-262-01153-0 Structure and Interpretation of Computer Programs (Second edition). The MIT Press