Java oop

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Constructor Chaining

A chain of calls from a subclass to same class of higher and higher superclass

Inheritance

A class derives non-private properties or method from an existing class

Object Oriented Programming

A type of programming that focuses on objects

super class

Class derived by another class

Dynamic Blinding

Looking up variables or methods in the upper levels of a family tree

Encapsulation

Protects variables or methods from being accessed outside its desired scope

Polymorphism

Subclass that can be though as its superclass

inner class

class define within a class

sub class

class derives non-private properties or methods from existing class

interface

class like-structure that contain only abstract method

abstract class

class that contain abstract methods

wrapper class

class that makes an object type from primitive type

default constructor

className(){ } called automatically when there is no constructor

new

create instance of object

abstract

define abstract class that may contain abstract method; can be used in front of method to indicate that it is abstract (no definition)

class

define an object

implements

define inheritance b/w class and interface

extends

define inheritance relation b/w 2 classes

super

differentiate b/w superclass properties or methods from subclass

static

indicates shared variables or methods

abstract method

method that have no specific content

package visibility

private,public,default,protected

Concrete class

regular class

default super

super() is called automatically when no call to super

this

to differentiate b/w class variable and local variable ;refer to another constructor


संबंधित स्टडी सेट्स

ACC- 1.1 Identify the forms of business organization and the uses of accounting information.

View Set

ENG 3B UNIT 1 Voices of Modernism (1920s - 1940s) LESSON 12 Voices of Modernism (1920s - 1940s) Unit Test : Modernism

View Set

Nutrition Final- 1st half of quizzes

View Set

Chapter 30 Pretest: Assisting in Ophthalmology and Otolaryngology

View Set