Interface in Java


   Interface in java

Interface in java
Interface ?
Example of Interface
Multiple inheritance by Interface
Why multiple inheritance is supported in Interface while it is not supported in case of class.
Marker Interface
Nested Interface




Abstract class in Java



A class that is declared with abstract keyword, is known as abstract class in java. It can have abstract and non-abstract methods (method with body).
Before learning java abstract class, let's understand the abstraction in java first.


Inheritance in Java

  1. Inheritance
  2. Types of Inheritance
  3. Why multiple inheritance is not possible in java in case of class?

Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of parent object.


Method Overloading in Java

Method Overloading in Java

  1. Different ways to overload the method
  2. By changing the no. of arguments
  3. By changing the datatype
  4. Why method overloading is not possible by changing the return type
  5. Can we overload the main method
  6. method overloading with Type Promotion

Object và Class trong Java

Object và Class trong Java

  1. Object in Java
  2. Class in Java
  3. Instace Variable in Java
  4. Method in Java
  5. Example of Object and class that maintains the records of student
  6. Annonymous Object
Trong trang này, chúng ta sẽ tìm hiểu về các đối tượng java và các lớp học. Trong kỹ thuật lập trình hướng đối tượng, chúng tôi thiết kế một chương trình sử dụng các đối tượng và các lớp học.

Đối tượng là vật lý cũng như thực thể logic trong khi lớp là thực thể duy nhất hợp lý.

Những câu hỏi phỏng vấn java khi đi xin việc thường gặp?


1.What are the principal concepts of OOPS?


There are four principle concepts upon which object oriented design and programming rest. They are:
      Abstraction
      Polymorphism
      Inheritance
      Encapsulation
(i.e. easily remembered as A-PIE).

NHỮNG TÍNH NĂNG CỦA JAVA


Tính năng của java


Có rất nhiều tính năng của Ja va . Chúng cũng được sử dụng rất thông dụng trong các chương trình và ứng dụng .
  1. Simple
  2. Object-oriented
  3. Platform  independent
  4. Secured
  5. Robust
  6. Architec ture neutral
  7. Portable
  8. Dynamic
  9. Interpreted
  10. High performance
  11. Multithreaded
  12. Distributed