• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please explain following terms in very simple words-PLEASE!

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Class, Object, method overloading & overriding, polymorphism, difference between thread and process.

Please explain the above using the simplest words so a lay man can try to understand.. many thanks in advance.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Class - A representation of something with the use of properties and functions that might do something with these properties. Example class dog can have a collar and have a renewCollar() function.

Object - The class is instantiated inside a program and exists as an object in the memory, the heap.

Overloading - Providing a different implementation for the same method based on the inputs received. Ex renewCollar() and renewCollar(License li)

Overriding - Providing a different implementation for the same method in a subclass. Ex: Labrador class extends Dog class and both have the renewCollar() method with same signature. renewCollar() works differently with Labrador than with a Dog.

Polymorphism - Stuff like inheritance, overriding represent polymorphism.

difference between thread and process - A thread is like a part of a process. A process can spawn many many threads. When you start a program you start a process. That process in turn may use multiple threads to execute code. Each thread is given a time slice of the processor to execute.

You should google first before you ask here.
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, read this.
 
Aparna Ram
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I completely understand all that.

Since I was not able to come up with explanations easier to understand in simple words, when I did a Google search, I had to post the question here!!

If this was a mistake, I am sorry to have wasted your time.
All said, I also thank you very much for the reply sent.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic