I'm looking for a guy who can explain me these topics ... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

I'm looking for a guy who can explain me these topics ...

API Applet (java) Library Object Class Methods Framework

24th Aug 2017, 8:27 AM
Vaibhav Singh Sikarwar
Vaibhav Singh Sikarwar - avatar
4 Answers
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).
26th Sep 2017, 10:48 PM
Joseph David Zamora Murillo
Joseph David Zamora Murillo - avatar
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.
26th Sep 2017, 10:51 PM
Joseph David Zamora Murillo
Joseph David Zamora Murillo - avatar
0
frameworks are like libraries but much more developed and used usually more than libraries.
26th Sep 2017, 10:52 PM
Joseph David Zamora Murillo
Joseph David Zamora Murillo - avatar
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.
26th Sep 2017, 10:55 PM
Joseph David Zamora Murillo
Joseph David Zamora Murillo - avatar