|
Object Oriented
|
|
Simple
|
|
Platform Independent
|
|
Secure
|
|
Robust
|
|
Portable
|
|
Multithreaded
|
|
Distributed
|
|
Abstraction
|
Abstraction means using simple things to represent complexity using object, classes, and variables.
|
|
Encapsulation
|
This is the practice of keeping fields within a class private, then providing access to them via public methods. It’s a protective barrier that keeps the data and code safe within the class itself.
|
|
Inheritance
|
It lets programmers create new classes that share some of the attributes of existing classes. This lets us build on previous work without reinventing the wheel.
|
|
Polymorphism
|
Polymorphism refers to any entity whether it is a method or a constructor or an operator which takes many forms or can be used for multiple tasks.
|
|
Final
|
Makes a variable, method, or class unchangeable.
|
|
Finally
|
Exception handling after success or failure during a try catch block.
|
|
Finalize
|
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
|
|
try
|
The code to be monitored for exceptions will be kept in this block.
|
|
catch
|
If any exceptions occurred in try block, those exceptions will be caught by this block.
|
|
finally
|
This block will be always executed whether exception is raised or not and raised exceptions are caught or not.
|
|
Checked
|
Known and checked at compile time.
|
|
Unchecked
|
Known at Runtime, unknown at compile time.
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.