Posts

Features of Java

There is given many features of java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. 1. Simple 2. Object-Oriented 3. Portable 4. Platform independent 5. Secured 6. Robust 7. Architecture neutral 8. Dynamic 9. Interpreted 10. High Performance 11. Multithreaded 12. Distributed

OOPS CONCEPT

Object Oriented Programming is a paradigm that provides many concepts such as  inheritance, data binding, polymorphism etc. Simula is considered as the first object-oriented programming language. The programming paradigm where everything is represented as an object is known as truly object-oriented programming language. Smalltalk is considered as the first truly object-oriented programming language. OOPs (Object Oriented Programming System) Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance by providing some concepts: o Object o Class o Inheritance o Polymorphism o Abstraction o Encapsulation

PACKAGE AND EVENT HANDLING

  PACKAGE   A package is a collection of classes, interfaces and sub-packages. A sub-package in turns divides into classes, interfaces, sub-sub-packages, etc. Learning about JAVA is nothing but learning about various packages. By default one predefined package is imported for each and every JAVA program and whose name is java.lang.*.  Whenever we develop any java program, it may contain many number of user defined classes and user defined interfaces. If we are not using any package name to place user defined classes and interfaces, JVM will assume its own package called NONAME package. In java we have two types of packages they are predefined or built-in or core packages and user or secondary or custom defined packages .   Advantage of Java Package   1) Java package is used to categorize the classes and interfaces so that they can be easily maintained.   2) Java package provides access protection.   3) Java package removes n...