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

Where can I get Python online training?
You can get many institutes in google which are providing online training.
Taranum
What is the use of package in JAVA?
Have you ever observed why we all are having kitchen / hall / bedroom or any? Have you ever observed why most of the bags contains zips and folders ? Have you ever observed why people create different...
Pushpendra
Can a class have interface and vice-versa?
how its possible both has different meaning you cant enclosed it
Deepa
0 0
7
Is Java a pure object-oriented programming language?
Java language is not a Pure Object Oriented Language as it contain these properties: Primitive Data Type ex.
Shiv
0 0
5

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

Ask a Question

Related Lessons

SWITCH STATEMENT IN JAVA
switch statement - condition statement - only once the checking takes place so we recommend use break statement. switch(condition/variable/choice){case 1: //statements break;case 2: // statements break;case...

Crux Of The Basic Interview Question Asked Around It Professionals
Question: Explain PSVM() in Java. Answer: This question is asked from a differnet persctive. Person asking this question is looking for deep java concepts. If answer in your mind is something like...

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
0

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

Amazon written test for experience
For the below written test answer I defined with "*" at the end of the options NULL is the same as 0 for integer the same as blank for character * the same as 0 for integer and blank for character the...

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