The Artima Developer Community
Sponsored Link

Java Buzz Forum
Object and Class in java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Arpit Mandliya

Posts: 190
Nickname: mandliya23
Registered: May, 2017

Arpit Mandliya is Java programmer working on Core java, Spring, Hibernate
Object and Class in java Posted: May 27, 2017 1:03 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Arpit Mandliya.
Original Post: Object and Class in java
Feed Title: Java tutorial for beginners
Feed URL: http://feeds.feedburner.com/arpitmandliyasblog
Feed Description: A blog about java programming language and its frameworks
Latest Java Buzz Posts
Latest Java Buzz Posts by Arpit Mandliya
Latest Posts From Java tutorial for beginners

Advertisement

In this post, we will learn about Object and class in java. As Java is an object-oriented programming language, we need to design our program using Objects and classes. Object: An entity that has state and behavior may be termed as Object. For example: Employee has state with name, age and department, and behavior such as working on the assignment. Class: A class is a blueprint/template that defines state and behavior of objects. For example: Employee is a class in above example. Object is an instance of class: As object are created on the basis of blueprint/template that class provides,

The post Object and Class in java appeared first on Java2Blog.

Read: Object and Class in java

Topic: Data types in java Previous Topic   Next Topic Topic: Spring Boot AngularJS Example

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use