+ 6
I'm looking for a guy who can explain me these topics ...
API Applet (java) Library Object Class Methods Framework
4 ответов
0
to put it simply, objects are information in which you can apply different functions to or manipulate the information in the object, you could say that in super mario brothers, Mario is an object that has a function to jump. Instead of sayig that mario has a function yo jump he has the method so far functionality wise I do not see much difference between methos and functions, just know that to apply methods to in object in this case Mario, you would do it like this Mario.jump(), instead of jump(Mario).
0
libraries are a library of codes with are very useful, you can include code from libraries to your code to complete the task you desire.
0
frameworks are like libraries but much more developed and used usually more than libraries.
0
Using the example I gave on Mario we can explaim classes. If I want to create many different enemies in super marios bros than ome of the best and cleanest ways to do it is with classes, classes are a gathering of data and methods(or functions), which vary depending on the object, for instance the object mario has the data lives and the method jump.