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

Create Immutable Class
Snippet of an Immutable Class: package com.stringhr; /*Declare the class as 'final'. This would prevent any other class from extending it and hence from overriding any method from it which could modify...

Integration by parts.
Integration by parts can be applied to certain problems which are in the form of: ∫ f(x) g(x) dx Put either one as 'u' and other one as 'dv' then solve using the formula ∫ u dv = uv - ∫...

Java Learning Tip
The easy way to learn any programatical language is just simple practices. Take a simple examples and practice daily one hour. And also go through the learning videos from youtube or somewhere else.

CoreJAVA
Core Java Training High Level Course Content Trained by Java Architect 1. Core Java Programming Introduction of Java 2. Data types and Operators 3. Control Flow statements 4. OOPS and its application...
A

Easy ways to remember Periodic Table
You can easily remember the Periodic table by remembering some Hindi Mnemonics Group 1 is known as alkali metals. It includes Lithium (Li), Sodium (Na), Potassium (K), Rubidium (Ru), Caesium (Cs), and...
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