Ask
your own question, for FREE!
Computer Science
14 Online
what do classes use to define their behavior? is it constructors? variables? parameters? something else? can someone please explain?
Still Need Help?
Join the QuestionCove community and study together with friends!
this is in Java btw!!!
All of the above. First, classes are descriptions ( blueprints ) for objects to be created. The constructor method initializes ( sets up ) the object for use. The behavior of an object would be primarily influenced by it's methods ( functions bound to the object ), but also what attributes ( methods would be an attribute, but attribute usually used as a term of variables ) the object has. Basically, methods are verbs and attributes are nouns. An object possesses attributes and can do methods with them and parameters passed to it.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Breathless:
TOC: "MGF any confirmation on the commander? we require confirmation as soon as[radio static].
EdwinJsHispanic:
I wrote something that I don't know if I want it as a poem or song, Please let me know on yours thoughts about it, I'm still doing this! "Broken promises an
thehearken:
hi um I don't know if this is the right section for this, but can someone go over my poem and tell me if its good enough to give my English professor for a
heartlessprophet:
Aye what's 19z%u00f74p=9u03c0 my teacher thinking of impossible questions for us
kippppp:
does anyone have any good tips for writing stories? i'm trying to write a dnd campaign but i'm not that great of a writer yet.
GRIZZLEY19:
Y'all let me know what y'all think about this beat I made I took me like a hour maybe rate it 0/10 https://drive.
Ultrilliam:
Welcome to the 10th Anniversary Update! (Part 2) Sorry this one passed the date a
Twaylor:
was walking downtown and my adhd brain wanted to make some (rock?) lyrics: There'
4 hours ago
2 Replies
0 Medals
4 hours ago
2 Replies
0 Medals
1 day ago
5 Replies
3 Medals
3 hours ago
1 Reply
0 Medals
1 day ago
11 Replies
2 Medals
2 days ago
2 Replies
0 Medals
19 hours ago
22 Replies
8 Medals
3 days ago
6 Replies
0 Medals