• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 4 páginas
Notas de lectura

Java programming basic note

Document preview thumbnail
Vista previa 1 fuera de 4 páginas

Java programming basic note. Simple and easy Note

Vista previa del contenido

BCA - JAVA
YUVAKSHETRA INSTITUTE OF MANAGEMENT STUDIES BCA 2017 ONWARS BATCH
PRORAMMING


UNIT I
OBJECT-ORIENTED PROGRAMMING
Object-Oriented Programming or OOPs refers to languages that uses objects in programming. Object-
oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism
etc in programming. The main aim of OOP is to bind together the data and the functions that operate
on them so that no other part of the code can access this data except that function. Object-Oriented
Programming is a methodology or paradigm to design a program using classes and objects. It
simplifies software development and maintenance by providing some concepts:
 Object
 Class
 Inheritance
 Polymorphism
 Abstraction
 Encapsulation

Object Oriented Programming popularly known as OOP, is used in a modern programming language
like Java

CORE OOPS CONCEPTS (PRINCIPLES OF OBJECT ORIENTATION-CLASS)

1) Class

The class is a group of similar entities. It is only a logical component and not the physical entity. For
example, if you had a class called “Expensive Cars” it could have objects like Mercedes, BMW,
Toyota, etc. Its properties (data) can be price or speed of these cars. While the methods may be
performed with these cars are driving, reverse, braking etc.

2) Object

An object can be defined as an instance of a class, and there can be multiple instances of a class in a
program. An Object contains both the data and the function, which operates on the data. For example
- chair, bike, marker, pen, table, car, etc.

An object consists of:
1. State : It is represented by attributes of an object. It also reflects the properties of an object.
1 Page

Información del documento

Subido en
15 de julio de 2023
Número de páginas
4
Escrito en
2022/2023
Tipo
Notas de lectura
Profesor(es)
Dr. shyam prasad
Contiene
Bca third year
$8.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
2
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes