Friday, 11 August 2017

What is list in data structure

List: - List is a linear data structure in which elements are arranged in random order. That means list is those type of linear data structure in which elements are arranged neither LIFO nor FIFO. List is implemented using array and link list.

Array has various disadvantages to handle huge no of data item in linear form. The size of array is fixed. So, memory block can be in sufficient as the requirement of the user. It is also possible that the blocks are huge in compression with the requirement of the user, So the chances of memory wastage can be maximum. 
                      
Insertion operation in array is very time consuming operation due to right shift. Operation of all elements present in the right side of the insertion point.

Similarly deletion operation in array is also a very time consuming operation due to left shift, operation of all elements present in the right side of the deletion point.

To remove the disadvantages of array, two new concepts are arise:- Dynamic memory allocation and concept of link list.

Dynamic memory allocation is those type of memory allocation process by which we can allocate memory for the variables at the time of execution using the function malloc, calloc and realloc. Using the concept of dynamic memory allocation the concept of insufficient memory and a huge memory of array can be removed. Using dynamic memory allocation user can allocate specific number of blocks for a variable as the requirement of the user. There are no chances of memory wastage or extra memory for wastage. 
 
To remove the disadvantages of array related to insertion and deletion operation. The concept of link list is arise. Link list is a linear data structure in which elements can be inserted or deleted in any order without shift operation and they are connected to each other using pointers.

This program solved by Ms Aakriti Srivastav (Guided by Jitendra Kumar JAVA Trainer at Vtech Academy of Computers)- C | C++ | DS | JAVA | Android | Python & Oracle

Wednesday, 5 July 2017

What is the scope of AngularJs in the IT field

What is scope of angularjs developer in IT Industries

Web is evolving. Single Page Applications are future. Everything is confined in Mobile & Tablet.

To recruit single specific technology expert, AngularJS & Responsive code developer play a role as feeler. We excessively access internet & data dealing, an expect fast responsive or less time for throughput.

AngularJS is much good for Create Read Update Delete (CRUD) Operation.
AngularJS Developer can adjust career with different kind of Company as .NET,JAVA,PHP etc.

AngularJS is moving on fast pace as Device & responsive development.
It reduces complexity of code.
It is preferable in SPA (Single Page Application) & bind business Logic.
Java Script is Complex to understand & it is difficult to find keen script developer
AngularJS is simply & easier for fast Web development. Microsoft Company introduced ASP.NET MVC with AngularJS.

It is easily integrated with   other web technology. It is on fast peak & its graph of usage in IT industry curving on Top.
Even google constantly releasing new API’s & Business Logic in AngularJS so that it could be proved quality integration.
Google, Microsoft IBM etc. embracing this technology. 


OBJECTIVES


      To reduce development time & fast throughput Application
      High usage on Tablet Mobile Application.
      A cross Platform technology which can be integrated with Web Development


ISSUE IN EX-CLIENT TECHNOLOGY

1.      Client Application can’t support easy way CRUD operation.
2.      Need to develop different code for different viewer.

Monday, 16 January 2017

Why we use constructor in java

There is no concept of destructor in JAVA. The concept of garbage collection deletes all the variables and functions of the program that’s execution is completed. So all the instance variables are automatically initialized with there zero values at the time of creation of the object, because the memory is cleared by the garbage collection concept.

If user wants to delete an object from the memory then the finalize( ) function can be used to perform those type of operation. That means, using finalize () function, particular object can be deleted as the choice of the user but by the garbage collection all the objects are deleted after execution of the program which is performed automatically by the JVM.

Java constructor and class


Wednesday, 4 January 2017

What is meant by multithreading in java

Advanced multithreading in java

Multithreading is those type of programming concept which is used to implement the concept of multitasking. Thread means, small program which can be executed at a time. Multithreading means more then one smalls program which are executed simultaneously not concurrently using small span of time and using the round robin scheduling.

We know that JVM is an operating system over the operating system, so in JVM a scheduler is present which is responsible to implement multithreading. In multithreading threads are different states :-

(1)          New born state
(2)          Ready state
(3)          Running state
(4)          Suspended state (temporarily)
(5)          Terminated state or killed
                                                  
In JAVA a thread class is present which is used to implement the concept of multithreading. A run( ) function is present in the thread class which is used to run a thread.

An init( ) function is present, which is used to initialize a thread or new born thread is created. Start( ) function is also present, which is used to ready a thread to execute.

Stop( ) function is present which is responsible to terminate a thread. For temporarily suspended of thread three functions are present and they are-

(1)          Sleep
(2)          Suspended
(3)          Wait

The sleep( ) is automatically deactivated after specific time given in millisecond in the sleep( ) function. The suspended( ) function is deactivated when a resume( ) function is called. Wait function is deactivated when a notify( ) is called. 

This blog written by Jitendra Kumar (JAVA Trainer at Vtech Academy of Computers)- Java Certification and Java Training Courses

What is list in data structure

List: - List is a linear data structure in which elements are arranged in random order. That means list is those type of linear data struc...