Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Need help with Java methods please?

Hi

I am having some trouble understanding the following methods in Java, their definitions and how they are used in programs. Could someone Please assist me? Thank You.

They are:

getDefaultToolkit()

getSystemClipboard()

getContents()

setContents()

getTransferData()

getDesktopProperty()

getImage()

Please assist me

Thank You

2 Answers

Relevance
  • 10 years ago
    Favorite Answer

    A quick google search with the word Java and your method name should have a great response in either the first or second result.

  • 5 years ago

    Static methods are common across instances of the class. In fact you don't even need to declare a variable of the class to use a static method. When you use Integer.parseInt() on a String, you don't need to declare an Integer object to use it.

Still have questions? Get your answers by asking now.