E
E
Eugene Shustry2016-02-02 13:26:21
Java
Eugene Shustry, 2016-02-02 13:26:21

How do you know when and which method to use?

For example, I'm learning Java, Applets. You created a project, created your own class, inherited from Applet, and you want to display the familiar "hello world" to everyone , but how do you know that in order to do this, you need to override the paint method ??
Until I Googled "Create our own applet", I would never have guessed that this particular method was needed. In general, it drives me crazy and I don’t understand, does it really all come down to taking and google?!?!?
Tell me that I'm wrong and give advice, or explain how you know which method to take for this or that.
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Nikolaev, 2016-02-02
@Heian

In general, it drives me crazy and I don’t understand, does it all come down to taking and googling?

This programming methodology is called Stack Overflow Driven Development, and is practiced even by expert level programmers.

I
IceJOKER, 2016-02-02
@IceJOKER

Reading documentation, books, etc., what do you think? Will everything be easy and simple?

A
Alexander Shpak, 2016-02-02
@shpaker

Orakl has already ordered a commemoration for applets - drop this business. In the ninth version, their support will no longer be.

I
Ilya, 2016-02-02
@iissakin

Either google, or, relying on your knowledge of English and a normal autocomplete in the IDE, look for a method, guessing what it could be called. You can still look in books, yes, but there is usually no time for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question