Revising Basic Java Concepts Flashcards
D: Procedural Programming Paradigm
Programming approach that focuses on the procedures for solving problems.
D: Object
An object is an entity having specific characteristics,identity, and behaviour.
Also, instance of a class
D: Class
A class is a blueprint representing objects having similar characteristics and behaviour
D: Data Abstraction
Data Abstraction refers to the act of representing only the essential features without showing the background details or explanations.
Example: Switchboard
D: Modularity
Modularity is the act of partitioning a program into individual components.
D: Encapsulation
Encapsulation is the wrapping up of data and functions into a single unit called class.
Encapsulation is a way of implementing Abstraction.
D: Inheritance
Inheritance is the ability of one class of things to inherit properties or capabilities from another class. Example: class 'car' has inherits some of its properties from the class 'automobiles'.
D: sub class or derived class
A class that inherits properties or capabilities from another class.
D: base class or super class
A class from which another class inherits properties.
D: Polymorphism
Polymorphism is the property by which a message can be sent to objects of different classes and each object can respond differently based on its class.
How does java solve the problem of platform independence?
By using Bytecode
Java bytecode is interpreted by a special java interpreter called …
Java Virtual Machine
What are the most common java programs?
Applications and Applets
What are Applications?
Applications are standalone programs that run independently of other programs or applications.
What are Applets?
Applets are programs that run inside another application such as a web browser.