Roorkee College of Engineering Object Oriented Programming Lab

Object Oriented Programming Lab

Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. A feature of objects is that an object’s procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of “this” or “self”). In OOP, computer programs are designed by making them out of objects that interact with one another. There is significant diversity of OOP languages, but the most popular ones are class-based, meaning that objects are instances of classes, which typically also determine their type.

Sr. No.Name of PracticalSoftware & Hardware requiredIcon
1To become familiar with classes that represent entities that can interact with the
2To successfully write simple programs that involve if statements.
3To gain practice in the use of Boolean operators like && and ||.
4To construct a class that represents a simple ATM (automatic teller machine).
5Write a new program called that will request that the user enter an
integer and then will display the message .positive,. .negative,. or zero. if the value
that was entered was greater than zero, less than zero, or equal to zero, respectively.
6Write a simple program called that will request N, the
number of values desired, and then generate a list of N random double values. Use
a ViewFrame for input and output.
7Write program for Java Applets.
8Use Java Servlets for proxy server.

Paste your AdWords Remarketing code here