TECHASHUS - FUNDAMENTALS OF CORE JAVA
JAVA -
Java is not purely Object Oriented Programing Language ,Partialy Object Oriented Language.Developed by James gosling in 1990, It is Created for Television Product it supports OOPS Class, Objects.Java developed in Sun Micro System After that it owned by Oracle java Supported files oracle.
OOPS: - Inheritence, Polymorphism, Encapsulation, Abstraction
Features:
Platform Indipendent, Java compiled as a class file called byte code, then the class file is converted as a machine code by JVM (java virtual machine). Java enabled OS can run a java class file, java does not support java pointer .by Using pointer their is a memory leakage Problem.
Operator Overloading is not Supported, Goto not supported, sand box can run Program in OS more securely.
Java Supports Distributed environment means by using protocols to communicate one System to another System.
If object cannot refered for a long time that objects collected by the garbage collector and freed from the memorey it happence automatically so java is a Robust. does it automatically called by System.gc function but there is not assure for clearence.
Thread java run as thread called main is deman thread, it is the lowest priority thread priority can be considered as high to low we cannot set a priority it takes normal priority. Multitasking
Process based on OS Thread based
Individually partioned
It have a seperate Execution for each thread
OOPS -
Abstract Class it has a abstract method and normal method , if it is a abstract Class it should be Extended.
Abstract method can only defined in derived Class. Abstract is access modifier the process of extracting the essential feature and hiding the irrelevent detail is called data abstraction. It is also called as a Data Hiding.
Inheritence is inheriting the property of the one object by another Object. but atleast one Extend and one Class.
Class can implement interface
Interface can't implement interface
Interface can extends interface
Extend by use is avail all the methods.
Interface has pure abstract method and it uses the interface keyword, we have diclare class dim to implement instance can't create object.there is no constructor in interface.

No comments: