What is object oriented programming language, JAVA Programming

Assignment Help:

What is object oriented programming language?

In classic, procedural programming you try to form the real world problem you're attempting to solve fit a few, predetermined data types: integers, floats, Strings, and arrays perhaps. In object oriented programming you form a model for a real world system. Classes are programmer-defined types that model the elements of the system.

A class is a programmer describes type that serves as a blueprint for instances of the class. You could still have ints, Strings, floats, and arrays; but you can also have cars, motorcycles, people, buildings, clouds, dogs, angles, students, courses, bank accounts, and any other type that's significant to your problem.

Classes specify the data and behavior possessed both through themselves and through the objects built from them. A class has two parts: the fields and the methods. Fields describe what the class is. Techniques describe what the class does.

Using the blueprint provided by a class, you can form any number of objects, each of which is known as an instance of the class. Different objects of the similar class have the same fields and techniques, but the values of the fields will in general differ. For instance, all people have eye color; but the color of each person's eyes can be various from others.

Instead, objects have the same techniques as all other objects in the class except in so far as the techniques depend on the value of the fields and arguments to the method.

This dichotomy is reflected in the runtime form of objects. Every object has a separate block of memory to store its fields, but the bytes in the methods are shared among all objects in a class.

Another general analogy is that a class is to an object as a cookie cutter is to a cookie. One cookie cutter can make several cookies. There may be only one class, but there can be many objects in in which class. Each object is an instance of one class.


Related Discussions:- What is object oriented programming language

Opengts geozone violation alerts, Opengts Geozone violation alerts Proje...

Opengts Geozone violation alerts Project Description: I am seeking a very reliable, articulate and an experienced Java and MySQL developer to customize the Device Communicati

Write responsibility of developer-executive -support team, Write responsibi...

Write responsibilities of the followings 1. Developer a) Module level design. b) Coding c) Unit testing 2. Executive Team a) Responsible for the day to day operations. b) A

Write a java code to explain else if, Write a java code to explain Else If ...

Write a java code to explain Else If ? if statements are not limited to two cases. You can merge an else and an if to form an else if and test a overall range of mutually exclu

How trojan horses or worms affect a computer system, How Trojan Horses or W...

How Trojan Horses or Worms affect a computer system? What guidelines should be adopted to troubleshoot along with malicious software? Trojan horses are stand-alone programs. Th

Explain rmi architecture, RMI uses a layered architecture; every of the lay...

RMI uses a layered architecture; every of the layers could be increased or replaced without affecting the rest of the system. The details of layers can be summarised as follows:

Write a program to add of doubles in java, Write a program to add of double...

Write a program to add of doubles in java? Doubles are treated much the similar way, but now you obtain to use decimal points in the numbers. This is a same program which does

Socket Programming, Task back to top Write a JAVA GUI program that would f...

Task back to top Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA soc

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd