UrbanPro

Learn Java Training from the Best Tutors

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

Search in

What do you understand by Object and Class?

Asked by Last Modified  

18 Answers

Learn Java

Follow 8
Answer

Please enter your answer

A class provides the blueprints for objects. So basically, an object is created from a class. That can be used anywhere as you wish.
Comments

Class is a definition, and object is an implementation/instance of it.Consider an example of a class Vehicle. The properties of vehicles are:The number of wheels, Avg. Speed, number of seats, fuel type, etc. It can be instansiated by providing a values to the properties. like Car = etc.Aeroplane = ...
read more

Class is a definition, and object is an implementation/instance of it.
Consider an example of a class Vehicle. The properties of vehicles are:
The number of wheels, Avg. Speed, number of seats, fuel type, etc.
It can be instansiated by providing a values to the properties. like
Car = [number of wheels = 4, Avg. Speed=100km/hr, number of seats=5, fuel type=petrol] etc.
Aeroplane = [number of wheels = 3, Avg. Speed=700km/hr, number of seats=150, fuel type=petrol]
Bicycle = [number of wheels = 2, Avg. Speed=30km/hr, number of seats=1, fuel type=none]
Here Vehicle is a class only with the properties' definition of the properties have no absolute values. Whereas Car, Bicycle, Aeroplane are objects of type Vehicle class.

read less
Comments

Expert-level Java Trainer has extensive knowledge of Java programming

An object is memory that can represent the data of real object , class is plan for object memory structure so we can say class is also a data typed for creating objects
Comments

Experienced IT Trainer, Academic Associate, IT Enthusiast

Object: Object is the instance of the classes. The object is a bundle of software containing relatedvariables and methods. It contains data and code to operate on those data (functions). Objects are the basic run-time entities of the programming, based on object-orientation. These are the central entities...
read more

Object: Object is the instance of the classes. The object is a bundle of software containing related
variables and methods. It contains data and code to operate on those data (functions). Objects are the basic run-time entities of the programming, based on object-orientation. These are the central entities behind the object-oriented programming approach. It may be a person, place, or any data item. It may be any item that the program has to handle.

Classes: A class describes a group of objects with similar properties, common behavior, and common relationships to other objects. It is a collection of objects of similar types. It is a user-defined data type that can be used, just like any other basic data type, to declare variables. The class variables are known as objects or instances of a class, which are the central idea of the object-oriented programming approach.

read less
Comments

Object and any thing exist in the world that is either living or non-living. For e.g. a pen, a book etc. An object is an instance of a class. A class is a group of similar objects. for example Animal is a class and cat, dog, cow etc are the objects of the Animal class.
read more

Object and any thing exist in the world that is either living or non-living. For e.g. a pen, a book etc. An object is an instance of a class. A class is a group of similar objects. for example Animal is a class and cat, dog, cow etc are the objects of the Animal class.

read less
1 Comments

I am an entrepreneur and have more than 35 years of experience in the IT industry

Class is a blue print of objects. Like the blue print of a house, this is like an ammonia blue print (paper) and the actual house that was constructed from the blue print is an object. You can construct as many houses from the same blue print.
Comments

The object is an instance of a class. Class is a blueprint or template from which objects are created. An object is a real-world entity.
Comments

Post Graduation Diploma In Information Technology B.E.(ECE)

Object is an instance of a class. Class is a blueprint or template from which objects are created. Object is a real world entity
Comments

At the most abstract level, a class is a definition/blueprint that specifies what its instances should contain and how they behave. An object is an instance of the class where every object has its state, while behaviour comes from the class definition.As we look a little deeper, every object derives...
read more

At the most abstract level, a class is a definition/blueprint that specifies what its instances should contain and how they behave. An object is an instance of the class where every object has its state, while behaviour comes from the class definition.
As we look a little deeper, every object derives its state and behaviour from the class definition hierarchy (a.k.a inheritance). One can visualize it as an onion where each layer/peel corresponds to a class in the hierarchy.

read less
Comments

M.sc (Comps) pursuing M.Tech

Class is a prototype for the data and functions you want to create.Object is created as a type of class. For eg car is a class where as honda and hyundai are objects. Without creating objects we cannot access the class directly.
Comments

View 16 more Answers

Related Questions

What is the difference between Java and Advanced Java?
Java = Core + Advance(Servlets, JSPs & EJB)
Anu
Is it really needed to do Java training before graduation, to get a job?
Yes, It's must to get better opportunities and to standard alone in IT field. Not only core Java but also learn Spring,Hinernat ,Struts. ANGULARJS add an advantage to get job easily.
Udaybhan
I need to know about JDBC. Can you help me please?
JDBC is an api, which is used to connect Java program to database.
Ganesh
I completed my graduation in 2017, now working as an HR Executive in a Consultancy. I want to move to IT Sector. Which course is best for me to learn and get success in life? Please Suggest me
Dear Kumar, My suggestion is to - become good in one programming language - preferably Java and one O/S preferably Linux. Be aware of Open Source systems. Try to identify the opportunities in your existing...
Kumar

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Tips of learning Java Language/Other Programming Languages
1.You should know the basic concept: If we talk about programming languages so basic concept are same in all the high level languages. So you should know the basic concept firstly then you can easily understand...
I

ICreative Solution

0 0
0

Java 8 Predicates
In the previous lession, we have learnt how to use filters and collectors. In filter we have passed the condition to evaluate whether the object is eligible to be filtered or not. Code given below for...

Comparable vs Comparator
java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For...

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

Use of Service Locator Pattern
If we want to reuse the java code that should be the best approach w.r.t re-usability, maintanence and saving time to concentrate on our own businbess logic/requirement. In the similar approach many patterns...
M

Recommended Articles

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
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