Deciphering object oriented programming concepts in Java -



Deciphering object oriented programming concepts in Java -

i've been reading object oriented concepts, , i'm getting lost. conceptually, understand method "does" , class "blueprint". i've read analogies, thing makes sense me far is: loops,if then, variable assignments, primitive info types, , basic syntax.

to me, programme program program. type in instructions, , computer executes. guess don't see big picture.

the biggest part of oop sky view, organization , code reuse. want organize 'objects' particular thing , want able reuse other applications well. thought makes easier maintain doing , info , how working together. broad allow me know not understanding.

bundling code individual software objects provides number of benefits, including:

modularity: source code object can written , maintained independently of source code other objects. 1 time created, object can passed around within system. information-hiding: interacting object's methods, details of internal implementation remain hidden outside world. code re-use: if object exists (perhaps written software developer), can utilize object in program. allows specialists implement/test/debug complex, task-specific objects, can trust run in own code. pluggability , debugging ease: if particular object turns out problematic, can remove application , plug in different object replacement. analogous fixing mechanical problems in real world. if bolt breaks, replace it, not entire machine.

java

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -