Java Summer Training Presentation
Java Summer Training Presentation
Java Summer Training Presentation
presentation
Web applications
Enterprise applications
Mobile
Games
FEATURES OF JAVA
Simple
Object-oriented
Platform independent
Secured
Portable
Multithreaded
Java simple program
Class A Class A
{ {
Public static void main(String arg[]) static public void main(String f[])
{ {
System.out.println(“hello java”); System.out.println(“hello java”);
}} }}
Introduction multiple inheritance
Inheritance in java is a mechanism in which one object acquires all the properties and
behaviors of parent object.
The idea behind inheritance in java is that you can create new classes that are built upon
existing classes. When you inherit from an existing class, you can reuse methods and fields of
parent class, and you can add new methods and fields also.