Jump to content

Object Oriented Programming ?


Recommended Posts

Posted

Experts explain cheyyandi. Please.Nenu python and Ruby start chesa kaani I don't seem to understand the concept.

Posted

Object oriented nee lakshyam ayithe...pure object oriented Java chudu...python and ruby dynamic languages kabatti at first chala confusing untundi...python lo ayithe at runtime data infuse cheyochu to object..

Posted

Object oriented nee lakshyam ayithe...pure object oriented Java chudu...python and ruby dynamic languages kabatti at first chala confusing untundi...python lo ayithe at runtime data infuse cheyochu to object..


Oops teliyani ataniki runtime ante artham autunda
Posted

Oops is simple man encapsulation polymorphism inheritance

Posted

Oops teliyani ataniki runtime ante artham autunda


Adhe python lo ala twisted ani example gaa telling uncle...dont use it to learn oops ani...
Posted

what is data infuse , ante runtime lo class  ki assign cheyadamaa?

Object oriented nee lakshyam ayithe...pure object oriented Java chudu...python and ruby dynamic languages kabatti at first chala confusing untundi...python lo ayithe at runtime data infuse cheyochu to object..

 

Posted

can you explain those if you have time?

Oops is simple man encapsulation polymorphism inheritance

 

Posted

step by step vellu mayya

 

first understand java .. koncham end-to-end (coding-compling(object to byte conversions)-jvm process ela avutundhi- getting desired output) first idi ardam chesko 

then oops and subconcepts polymophi**** inheritance 

 

then go to Python ... java brain & java9s youtube lo videos chudu .. then newbosston for python 

Posted

Adhe python lo ala twisted ani example gaa telling uncle...dont use it to learn oops ani...

 

+1, python lo encapsulation peddaga ledani stack overflow lo talk

Posted

ehe enduku vay ilanti threads esthaaru db lo..

Posted

+1, python lo encapsulation peddaga ledani stack overflow lo talk

yeah python lo private ane concept ledu...

Posted

can you explain those if you have time?

 

encapsulation ante hiding variables/functions/innerclasses ...

 

private, public ani istaam variable/function mundu ...private aithe vere class nundi ee variables/functions access cheyyalem

 

-------------

inheritance ante oka class extends another class... 

 

A extends B, ante B lo unna functions anni A lo untayi... for eg

 

B lo fun1(), fun2() unnayi...

A lo fun3() undi..

 

A a = new A(); ani call cheste, A.fun1(), A.fun2() kooda valid since A extends B.

 

---------------

 

polymorphism ante main concept oka method overloading, functions is same but definitions are different..

 

for eg.

1. same function name will have different arguments but they will be different functions.

 

like

func(int a);

funct(int a, string B);

 

2. Same with constructors.. new Class(); new Class(a);( ..if you define a constructor Class(int a) in the class.)

 

3. Same function with different definitions in superclass/subclass (A extends B ante A is subclass B is superclass)

------------

  • Upvote 1
Posted

what is data infuse , ante runtime lo class  ki assign cheyadamaa?

Search for "monkeypatching" uncle...nenu object ki variable or method assign cheyali ante class lo define cheyalsina avasarm ledu...at runtime cheyochu with that object...

×
×
  • Create New...