When do you not create a class object?

+1 Austin Elliott · June 9, 2015
I was watching Bucky's tutorials,  and he had imported JFrame, JOptionPane and JButton (among others) and he extended JFrame and created a JButton object, but he did neither with JOptionPane.

Without creating an object or extended/implementing the class, he writes the code: "JOptionPane.showMessageDialog(null, "I don't remember what he typed here.");" How and why does he do this?

Post a Reply

Replies

Oldest  Newest  Rating
0 Austin Elliott · June 10, 2015
Thank you very much! That cleared it up. :D
  • 1

Java / Android Development

107,072 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator