Hiển thị các bài đăng có nhãn java basic. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn java basic. Hiển thị tất cả bài đăng

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




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).