Sunteți pe pagina 1din 11

 Java is a programming dialect and figuring stage initially

discharged by Sun Microsystems in 1995.


 There are bunches of utilizations and sites that won't work
unless you have Java introduced, and more are made each
day.
 Java is quick, secure, and solid.
 Earlier java is known by name called oak but it was
unsuccessful because it was designed for handheld devices
and setup boxes.
 It is a general-purpose object-oriented platform of
independent programming language.
 Java is − Object Oriented  Robust
 Platform Independent  Multithreaded
 Simple  Interpreted
 Secure  High Performance
 Architecture-neutral  Distributed
 Portable  Dynamic
 Robust
The data structures gave by the Java utility bundle are
intense and play out an extensive variety of capacities. These
information structures comprise of the accompanying
interface and classes
 Enumeration
 BitSet
 Vector
 Stack
 Dictionary
 Hashtable
 Properties
 Inheritance can be characterized as the procedure where one
class secures the properties (strategies and fields) of another.
With the utilization of inheritance the data is made
reasonable in a various leveled arrange.
 The class which acquires the properties of other is known as
subclass (determined class, kid class) and the class whose
properties are acquired is known as super class (base class,
parent class)
Why use inheritance in java
 For Method Overriding (so runtime polymorphism can be
achieved).
 For Code Reusability
 If the chance that a class acquires a strategy from its super
class, at that point there is an opportunity to abrogate the
technique gave that it isn't stamped last.
 The advantage of overriding is: capacity to characterize a
conduct that is particular to the subclass write, which implies
a subclass can actualize a parent class technique in light of its
necessity.
Rules for Java Method Overriding
 method must have same name as in the parent class
 method must have same parameter as in the parent class.
 must be IS-A relationship (inheritance).
 Polymorphism is the capacity of a protest go up against
numerous structures.
 The most widely recognized utilization of polymorphism in
OOP happens when a parent class reference is utilized to
allude to a youngster class question.
 Any Java question that can pass more than one IS-A test is
thought to be polymorphic.
 In Java, all Java objects are polymorphic since any question
will breeze through the IS-A test for their own kind and for
the class Object.
 Know that the main conceivable approach to get to a
question is through a reference variable. A reference variable
can be of just a single kind.
 Abstraction is the nature of managing thoughts instead of
occasions.
 For instance, when you consider the instance of email,
complex subtle elements, for example, what occurs when
you send an email, the convention your email server utilizes
are avoided the client.
 Hence, to send an email you simply need to type the
substance, say the address of the recipient, and snap send.
 Abstract classes may or may not contain abstract methods,
i.e., methods without body
 But, if a class has no less than one theoretical technique, at
that point the class must be pronounced conceptual.
 On the off chance that a class is announced conceptual, it
can't be instantiated.
 To utilize a unique class, you need to acquire it from another
class, give executions to the conceptual strategies in it.
 In the event that you acquire an abstract class, you need to
give executions to all the abstract strategies in it.
 It is one of the four crucial OOP ideas. The other three are
legacy, polymorphism, and reflection.
 In Java is an instrument of wrapping the information
(factors) and code following up on the information
(strategies) together as a solitary unit.
 In encapsulation, the factors of a class will be escaped
different classes, and can be gotten to just through the
techniques for their present class. Along these lines, it is
otherwise called information stowing away.
 Declare the variables of a class as private.
 Provide public setter and getter methods to modify and view
the variables values.
 Among Various Software Training Institute in
Chennai. Greens Technologys is one and only
Software Training institute who offers Java
Training in Chennai which live examples
 Our Trainer are Working Professional from
leading IT companies who are capable providing
practical oriented training which will help you to
understand the concepts in Java easily.
 We limit our Batch size which will make training
sessions more interactive and well structured.

S-ar putea să vă placă și