Tuesday, July 5, 2016

Inheritance Introduction and It's Types in Java


Inheritance: The literal meaning of the term inheritance is to receive something by succession. This is true for the inheritance feature of java as well. It means that one class, known as a child class or sub-class, acquires the behaviors and properties of another class, which is called the parent class or super class. 
 
Inheritance is useful for two main reasons: code re-usability and method overriding. When a class inherits the properties of another class, then it acquires its fields and methods, and there is also the option of adding new properties. Therefore we do not need to write the code again and again. Method overriding is a feature that allows us to override the method of the main class with that of a sub-class. This is useful for polymorphism. 
 
The syntax for inheritance is simple. The “extends” keyword is used to show that one class will inherit the properties of the class that comes after the “extends” keyword. This is an example: 
class sub-class extends Super class
{
    method;
}

Types of Inheritance in Java:
  • Single inheritance
  • Multilevel inheritance
  • Hierarchical inheritance
  • Multiple Inheritance
  • Hybrid Inheritance

Single inheritance  
This type of inheritance refers to the extension of one class by another. So there is one parent class and one child class. In the above image, class B extends class A.

Example:  
Class A
{
   void method()
   {
     System.out.println("Hello");
   }
}

Class B extends A
{
   void show()
   {
     System.out.println("Hello B");
   }
   public static void main(String args[])
   {
     B obj = new B();
     obj.method();
     obj.show();
  }
}
output:
Hello
Hello B

 Multilevel inheritance
 Multilevel inheritance is a chain of inheritance. As in the image, class C inherits from class B while class B inherits from class A. 
 Example:
Class A
{
   void methodA()
   {
     System.out.println("Hello A");
   }
}

Class B extends A
{
   void methodB()
   {
     System.out.println("Hello B");
   }
}

Class C extends B
{
   void methodC()
   {
     System.out.println("Hello C");
   }
   public static void main(String args[])
   {
     C obj = new C();
     obj.methodA();
     obj.methodB();
     obj.methodC();
 }
}
 
Hierarchical inheritance
In Hierarchical inheritance, one class is the parent class while there are two or more child classes. For example, in the above image, class B and class C both extend class A.
Class A
{
   void methodA()
   {
     System.out.println("Hello A");
   }
}

Class B extends A
{
   void methodB()
   {
     System.out.println("Hello B");
   }
}

Class C extends A
{
   void methodC()
   {
     System.out.println("Hello C");
   }
   public static void main(String args[])
   {
     B obj1 = new B();
     C obj2 = new C();
     obj1.methodA();
     obj1.methodB();
     obj2.methodC();

  }
}
Output:
Hello A
Hello B
Hello C

Note : unfortunately Java doesn't support Multiple Inheritance and Hybrid Inheritance.
Complete core java course at ADMEC Multimedia Institute in both classroom and online mode. ADMEC in a ISO Certified software training institute which offers C Language training, C plus plus language training and many more....

Monday, July 4, 2016

Drupal Training Institute in Delhi, India

Drupal is an open source CMS that provides developers an extra ounce of flexibility. It's offers a narrow framework and modules. Drupal provides such a wonderful environment that we can create using modules. Using these modules we can provide physical shape to our creative and innovative ideas.

Drupal is Free of Cost:
Drupal is available free of cost, there is no extra charge for contributing or withdrawing from the CMS.

Drupal Developers have broad API's Support:
Application programming Interface provides an extra punch to the drupal developers. They can collaborate and embed two or more programming languages in single one to utilize in websites.
Available Drupal API'S are:
  • Salesforce API
  • Youtube API
  • Google Apps
  • Analytics Drupal API
  • Ubercart Drupal API
  • Facebook and Twitter Drupal API
  • AdSense DrupaL API and many more …..
Drupal is Search Engine Friendly:
Major search engines crawl website developed in Drupal. Sitemap is easy to traverse on, the Meta tags are easy to locate, so the crawler or spider robots or Bots easily index websites. Never shocked if your Drupal website is ranking higher than websites using other CMS.

ADMEC Multimedia Institute Delhi Provides real-time and placement focused training in Delhi. Our Drupal course starts with basic and ends with advance level. This course helps individual to obtain a better career in the fields of web development. We have more than 10 years industry expert faculty. Our course content and syllabus based on students requirement to achieve career goal.

ADMEC, Delhi offers Drupal training with a choice of multiple options through online and classroom. Our online classes and classroom training is provided by the same faculty.

Friday, July 1, 2016

Types of Array in Java and It's Declaration

Declaration of array

A Java array variable is declared just like, you would declare a variable of the desired type, except you add [] after the type. Here is a simple Java array declaration example:
int[]Array;
So, it follows the structure:
dataType[]ArrayName;

These are some more examples:

double[] List;
String[] Names;
int[] Record;
When you declare a Java array variable you only declare the variable (reference) to the array itself. The declaration does not actually create an array. To create an array, following the declaration, the following format is used:
dataType[]ArrayName;

ArrayName = new dataType[size];

The following syntax can also be applied to declare and create and array:

dataType[]ArrayName = new dataType[size];
For example,
String[] Names = new String[7];
int[] Marks = new int[9];
This method is simpler and more concise.

After this, the array can be initialized by storing the elements:

The syntax is for this is,
dataType[] ArrayName = {element1, element2...};

For example

double[] List = {1.9, 2.9, 3.4, 3.5};

Or it can be done in this way:

dataType[] ArrayName = new dataType[size];
ArrayName[0]=element1;
...
ArrayName[size-1]=elementsize;
For example,
int a[]=new int[5];
a[0]=10;
a[1]=20;
a[2]=70;
a[3]=40;
a[4]=50;

The position in this case can be given in three ways:
  1. Integer constant
E.g.
a[2]=4;
  1. Integer variable
E.g.
int x=5;
a[x]=3;
  1. Arithmetic operation
E.g.
int x=5;
a[x+1]=3;
Types of arrays
There are two types of arrays in Java based on dimensions:
  1. Single-Dimensional Array
  2. Multi-Dimensional Array 

Single-Dimensional Array

A Single-Dimensional Array is a structured collection of components (often called array elements) that can be accessed individually by specifying the position of a elements with a single index value. They have only one subscript value and store data in a linear form.
An example of a Single-Dimensional Arrays is a list.
The syntax for such an array is the same as has been described in the Declaration of an array section. It is as follows:
The first method is:
Declaration-> dataType[] ArrayName = {e1, e2........};

Example
int[] scores = {5, 10, 20, 50};
The other method is:
dataType[]ArrayName; -> Declaration
ArrayName = new dataType[size]; -> Creation of array
ArrayName[0]=element1;

.................
.................
ArrayName[size-1]=elementsize;

Example:
String[] Employees;
Employees = new String[2];
Employees[0]=”Rahul”;
Employees[1]=”Manish”;
1D- Array Example:
class example1d
{
  public static void main(String args[])
  {
    int m[] = new int[5];
    m[0] = 50;
    m[1] = 60;
    m[2] = 70;
    m[3] = 80;
    m[4] = 90;
    System.out.println("The marks for 5 students are:");
    for(int i = 0; i < 5; i++)
    {
    System.out.print(+m[i]);
        System.out.println();
    }
  }
} 


Multi-dimensional arrays
An array that has more than 1 subscript is known as a multi-dimensional array. A one-dimensional array stores data in a linear form however a multi-dimensional array can store more information. So it can be thought of as an array of one-dimensional arrays.
Note: The most common example of a one-dimensional array is a list, the primary example of a multi-dimensional array is a table.
The syntax for multi-dimensional arrays is:
dataType [ ][ ] ArrayName = new dataType[][];
This will create a two-dimensional array.
Note: With each “[]” added, the number of dimensions increases by one.
For example,
int [ ][ ][ ] 3d = new int[4][3][5];
This creates a three-dimensional array of integer values.
Method to Define 2D Array:
int [ ][ ] 2d = new int[2][3];
2d[0][0] = 30;
2d [0][1] = 40;
2d [0][2] = 50;

2d [1][0] = 10;
2d [1][1] = 20;
2d [1][2] = 30;
The output is:
30 40 50
10 20 30
Another way to represent 2D Array:
int[][] 2d = { { 30, 40, 50 },
{ 10, 20, 30 }
};
The output is the same as above.

Example program for multi-dimensional array:
class multidexample
{
   public static void main(String[] args)
   {
        int[][] a = {{2,3,4},{1,3,5},{9,7,5}
            };
        int[][] b = {{70,80,90},{56,38,59},{19,27,15}
               };      
    int[][] c = new int[3][3];  
    for (int i = 0; i < 3; i++)
    {
           for (int j = 0; j < 3; j++)
        {
               c[i][j] = a[i][j] + b[i][j];
               }
        }
       System.out.println("Sum of the two matrices is");
       for (int i = 0; i < 3; i++)
    {
           for (int j = 0; j < 3; j++)
        {
               System.out.print(c[i][j] + " ");
               }
           System.out.println();
        }
   }
}

 
Join an ISO Certified core java training institute for online and classroom training. 
Course Duration: 45 Days  
 

Thursday, June 30, 2016

WordPress Master Course Institute in Delhi, India

WordPress is an open-source content management system, used to develop website or blog. ADMEC Multimedia Institute offers WordPress master course in Delhi, In which you will learn installation and configuration of WordPress for SEO friendly website, E-commerce website, business website etc.

This course is valid for both freshers and working professionals because our training starts with basic and ends with advance level. After completion of course, you will have enough knowledge to create an SEO friendly website, E-commerce website, business website etc. This course provides flexibility to plan, build and launch any types of websites. 
 
During the course, we cover each aspect of website development, including domain names , hosting, and working with WordPress dashboard to maintain plugins and website look. Our course is designed from a beginners perspective to provide a step by step guide from basic level to advance level. Our course not only covers conceptual framework of a WordPress based system but also covers practical aspects of developing a modern website or a blog.

After completion of WordPress master course you can start with building blocks and installation. After working with building blocks, you can also work on major building blocks of the admin panel. In next step you can create posts, pages, forums etc, easily. Availability of Plugins in WordPress helps a lot to make our website attractive and user friendly. Using plugins, one can add cool gallerias, testimonial, like box, videos etc. Lots of relevant SEO plugins provides facility to develop search engine friendly website. One can choose SEO plugins as per their requirements and uses. 
 
How Long will this course duration:
  • This course take 2 months to learn, because it’s very easy to understand and is for absolute WordPress master.
Training Mode:

  • Fast-Track (5 classes/week and duration would be 1 month only)
  • Weekends (Sat/Sun)
  • Only Sundays (Duration 3 months)
  • Online
  • Others 
  • Regular  
  • Wednesday, June 29, 2016

    Learn the Final Cut Pro Software at Reputed Training Institute

    Final Cut Pro is most used in post production process in film-making used for non-linear video editing that a video editor must know. This advance software have all the tools included to work quickly with software with customization options available that gives user full flexibility and control. Multi camera editing tools present in it allow user to cut and edit video from multiple resources.

    If you want to make your dream career in video editing then Post Production Institute is the right place to make your dream true. This institute is the best FCP Training Institute in entire North Delhi region giving quality training in this field. Thousands of students got training here and have positive results in their career. What makes us different from others is the dedicated and distinguished teacher having enough experience.

    Our advance FCP Training methodology not only train you on working over the software, instead it customizes your training according to the workflow.

    In our FCP training institute you will learn to marking clips, using insert, drag and drop editing, audio editing and many more important concepts to know in this training module. Among the other FCP training institutes, our institute focuses on giving practical training, that why we have a updated computer lab with latest version of software installed. We continuously encourages the students at various stages of training and also looks forward for counseling if needed.

    Students have the facility to take our free demo classes who are interested to join this institute. International students also came to PPI for learning video editing techniques on FCP and Adobe After Effects. Students in PPI have made several projects in the mean time of their training schedule and also after the completion of the training.

    Tuesday, June 28, 2016

    Delhi’s “Premier Animation Institute” for beginners as well as working professional

    Are you looking to get advantageous and bright career in the filed of 2D and 3D animation, visual effects, graphic design etc, then visit at least once ADMEC Multimedia Institute for career counseling or training point of view. At ADMEC we inculcate students perfect vision and concepts while offering the rigorous training programs and other activity to improve skills. This process deliver fascinating outcome and consequences within the students.

    Our tremendous training methodology at ADMEC, imparting the best knowledge via quality skills and leading tricks. It helps students to achieve marvelous and glorious careers with wide scope. We offer the best training in 2D & 3D Animation, FCP, VFX, Adobe Premiere Pro, Multimedia, Post Production etc, being the best animation institute in Delhi.
    Latest and updated animation courses offer wide scope of job opportunities in the filed of animation, VFX, multimedia and post production industry. ADMEC offers latest animation training, well expertise trainers and world class environment to students to provide best animation knowledge which shapes the career and bright future of the students.

    Our advanced educational training enable our students to achieve aim. Individual can obtain accurate, best and precise vision of perfection and precision in the animation, VFX, multimedia, post production, graphic design, web design, web development, web promotion, AutoCAD, software courses etc, at ADMEC Multimedia Institute. During the course we motivate and guide all remarkable and glorious careers with latest and real time educational training in Delhi. 

    Smart features of ADMEC Multimedia Institute:
    • Good Track Record
    • Inspiring and Unique Features
    • Industry Experienced Faculty
    • Good Placement Support
    • Real Time Project
    • Portfolio & Resume Development
    • Special Workshops
    • Special Classes
    • Best Student Award Every Months
    • Best Students of the Year
    • Career Counseling etc..

    • In last decades students of ADMEC, Rohini have efficaciously managed to impress some well known industry with their robust subject knowledge and professional capabilities. Hence, over the years, the Delhi’s “premier animation institute”, ADMEC has been going beyond the expectations of students by providing job placements in renowned IT, Animation, Post Production industry. At ADMEC, there is a great platform and a huge source of opportunities for the students to learn and develop strong foundation.

    Best Video Editing Courses in Delhi

    A video editing is done in film-making for post production. In this a video editor do a number of implementation in video and gives a final touch to it. A video editor is only responsible for what we see in the film from starting to end. All the work in this is done through the software's like Premiere Pro, Final Cut Pro and other software's and tools.

    Video Editing includes the following things to do:

    1. Editing the picture

    2. Sound dubbing

    3. Adding visual and special effects

    4. Adjusting the color quality etc.

    The video editing courses mostly involves the training and gaining knowledge in latest trending software's that are used for this purpose. With the demand in this field various institutes starts the specialized video editing courses for professional training and offering video editing concepts to give specialized knowledge over it.

    The availability of various video editing software's has made the editing job easier. So the requirement is only to gain a perfection over these software's ones from reputed training institute.

    Video Editing Institute in Delhi promises to provide best video editing courses that would be beneficial for the student in his growing career. The institute is dedicated to provide a quality education that will add a advance skills to face the world of competition. Where getting a desired job is going to be difficult.

    Our training methodology differs from other educational institute. We ensures that we provide the best and up to date teaching and techniques to our courses.

    Featured Post

    ADMEC Multimedia Institute Scholarship Program

    The ADMEC Multimedia Institute scholarship program aims to select and trained talented non working female, married woman and non married m...