UrbanPro
true

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Class, Object and Methods in JAVA

Debabrata Mandal
15/06/2017 0 0

Lesson-1:

Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But be honest and think how many of you can really understand the actual concept. Let me explain it in my way:

Class: I would say a class is a community, like Human or Indian.

Object: Object belongs to a particular community/class and holds behaviours of that class. Like you, me, he, she etc who belong to or represent the human community.

Method: Method defines some specific functionality of the belonging class. As for example eating, speaking is some functionalities of human class. But the functionality many vary from object to object. Like you speaks English and I speaks the Hindi language. We both are objects of the Human class.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Nothing is impossible
If u think any subject is tough to u it only u think actually it's not tough u become it tough if any other haven't learn that subject before and u tell him it is tough than it would be tough for him also...

Multiplexing
Multiplexing (known as mixing) is a term used to refer to a process where multiple analog message signals or digital data streams are combined into one signal over a shared medium. The aim is to share...


JAVA - Object Cloning
JAVA - Object Cloning Is the way of creating the same copy of object without calling the class constructor. It means we can make any class object multiple times without calling its default constructor....

Java : Compile-time Versus Runtime optimization
While designing and development, one should think in terms of compile-time and run-time.It helps in understanding language basics in a better way.Let's understand this with a question below : What...
S
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more