Showing posts with label knowledge. Show all posts
Showing posts with label knowledge. Show all posts

Thursday, 10 August 2017

Java Interview Questions & Answers – Part1


1)What are Web Services?

Web services are business logic components which provide functionality via. Internet using standard protocols such as HTTP. It is created using Soap or Rest. For E.g. in Google search page we got results like feeds, advertisement , news etc., from multiple sites, it is by web services which enables various websites to talk to each other and share data between them.

2)Differences between Soap vs. Rest.

SOAP – “Simple Object Access Protocol”
  • SOAP is a method of transferring messages, or small amounts of information, over the Internet. SOAP messages are formatted in XML and are typically sent using HTTP (hypertext transfer protocol).
Rest – “Representational state transfer”
  • Rest is a simple way of sending and receiving data between client and server and it doesn’t have very many standards defined. You can send and receive data as JSON, XML or even plain text. Its light weighted compared to SOAP.

3)How to create a DB connection.

Five steps to query a database:
  • Load the driver
  • Get connection
  • Query the database
  • Process the result set
  • Close connection

4)Differences between prepared statement and callable statement.

  • Prepared Statement – Execute a precompiled SQL with/without input parameters.
  • Callable Statements – Execute a call to database stored procedure.

5)Difference between System. Out and System. Err.

System. Err is a PrintStream. System. Err works like System. Out except it is normally only used to output error texts. Some programs (like Eclipse) will show the output to System. Err in red text, to make it more obvious that it is error text.

6)What is Key Store?

Java Key Store (JKS) is a repository of security certificates, either authorization certificates or public key certificates – used for instance in SSL encryption.

7)Write a Java program to print Fibonacci series.

8)What is immutability in java?

Once created the objects state cannot be changed .E.g. string

9)How to create read only values in java.

Using final keyword
Final int a=4;

10)Difference between Hashmap and Hashtable.

  • Hashtable is synchronized but Hashmap is not.
  • Hashtable can’t contain null values but Hashmap permits null values.

11)Difference between Iterator and Enumeration.

  • Iterator has remove () method but Enumeration do not have.
  • Iterator is used to Add and remove object, enumeration is used to traverse and fetch objects.
  • Iterator is used to manipulate text but Enumeration is used for read-only access.

12)Define Class-object relationship.

Object – Objects have states and behaviors. Example: A dog has states-color, name, and breed as well as behaviors -wagging, barking, and eating. An object is an instance of a class.
Class – A class can be defined as a template/ blue print that describe the behaviors/states that object of its type support.
Class is a blueprint while objects are actual objects existing in real word.
Get More Questions Related to 

13)What to test while testing Client-server application.

  • Performance
  • Load
  • Integration between multiple components
  • MUT
  • SOAK testing
  • Multiple clients for same server

14)How to Read/write excel file in Java.

15)Write a java program to count number of unique words separated by comma (,) and their occurrence from text file.

16)Difference between int & INTEGER.

int is a primitive type. Variables of type int store the actual binary value for the integer you want to represent. int.parseInt(“1”) doesn’t make sense because int is not a class and therefore doesn’t have any methods.
Integer is a class, no different from any other in the Java language. Variables of type Integer store a reference to Integer objects, just as with any other reference type. Integer.parseInt(“1”) is calling the static method parseInt from class Integer (note that this method actually returns an int and not an Integer).

int type Declaration:

int count;
  • count is a primitive
  • count stores 32 bits of information (in the range Integer.MIN_VALUE to Integer.MAX_VALUE)
  • Literal integers (e.g. 123 or 0x7b) are of type int

Integer type Declaration:

Integer count2;
  • count2 is an object reference
  • count2 points to an object of type java.lang.Integer (or to null)
  • The object count2 points at has an int member variable as described above.
To be more specific, Integer is a class with a single field of type int. This class is used where you need an int to be treated like any other object.

17)Difference between Serialization and synchronization.

  • Serialization is a process by which object instance is converted into stream of bytes.
  • Synchronization ensures that object data is into accessed by multiple threads at the same time.

18)Difference between sleep and wait. Which is better?

  • Wait is better than sleep.
  • Sleep cannot be waken but Wait can be woken using notify method.
  • Sleeps do not release lock but Wait releases lock.

19)Difference between Array and ArrayList.

  • Array size is fixed at the time of declaration. We can’t modify it.
  • ArrayList size is not fixed at the time of declaration. We can change its contents.

20)Difference between Set and Map.

  • Set – It is also an interface to represent linear collection with no duplicates. Order of insertion is not maintained. Example:- Harshest, Tree Set.
  • Map – It represents an indexed collection i.e. key-value pairs. Example: – Hashmap.

21)What is AJAX?

  • AJAX stands for Asynchronous JavaScript and XML. AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS and Java Script.
  • Ajax uses XHTML for content and CSS for presentation, as well as the Document Object Model and JavaScript for dynamic content display.
  • Conventional web application transmit information to and from the sever using synchronous requests. This means you fill out a form, hit submit, and get directed to a new page with new information from the server.
  • With AJAX when submit is pressed, JavaScript will make a request to the server, interpret the results and update the current screen. In the purest sense, the user would never know that anything was even transmitted to the server.
  • XML is commonly used as the format for receiving server data, although any format, including plain text, can be used.
  • AJAX is a web browser technology independent of web server software.
  • A user can continue to use the application while the client program requests information from the server in the background
  • Intuitive and natural user interaction.
  • No clicking required only Mouse movement is a sufficient event trigger.
  • Data-driven as opposed to page-driven
Original Source from : Java Training in Bangalore

Thursday, 1 June 2017

Introduction of Devops

Devops Training in Bangalore

DevOps (a cut compound of “software DEVelopment” and “information technology OPerationS“) is a term used to refer to an arrangement of practices that underscore the joint effort and correspondence of both programming designers and information technology (IT) experts while computerizing the procedure of software Deliver and .Get More Interesting Details & Learn Devops Training in Bangalore.
Why Need  Devops
The “2016 State of DevOps Report” makes it plain and straightforward that organizations that fuse DevOps rehearses accomplish more. As per the report, high-performing IT associations send 200 times more every now and again than low entertainers, with 2,555 times speedier lead times. They have 24 times quicker recuperation times and three times bring down change disappointment rates. High-performing IT groups invest 50 percent less energy remediating security issues and they invest 22 percent less time in impromptu work and modify, the report states.
Benefits of DevOps
Organizations that join DevOps practices accomplish all more done, plain and straightforward. With a solitary group made out of cross-practical individuals all working in coordinated effort, DevOps associations can convey with most extreme speed, usefulness, and advancement.
There are Technical Benefits:
  • Persistent software conveyance
  • Less complexity
  • Quicker determination of issues
There are Social Benefits:
  • More joyful, more productive teams
  • Higher representative engagement
  • More noteworthy expert improvement openings
There are Business benefits:
  • Speedier conveyance of components
  • More steady working situations
  • Enhanced correspondence and coordinated effort
  • More time to develop (as opposed to settle/keep up)
Now you can get enough knowledge about Devops Training in Bangalore. In our Besant Technologies offer Placement training & taught by Experienced Professionals. We have isolate HR group experts who will deal with all your interview needs. Improve your career @ Besant Technologies. Dial – +91-7624941772/74
In our other courses details..
Original Source from : latestsoftwaretraining.weebly.com

Monday, 24 April 2017

Unbelievable facts that everyone must know about Dot Net

Nowadays Dot Net software framework is highly ruling the Microsoft Windows. This is, however; the software has been developed by Microsoft and gives extensive library framework activities forever. Of course, the Dot Net offers language interoperability for several languages and supportive for exception handling. The services provided by this software are exceptional handling, memory management security and others. In fact, the domains are sold for cash which allows the users to access for programming. They are much popular domain extensions that deliver extensive programming knowledge to the users. Most institutes are providing Dot Net Training in Chennai which should consist of different facts and incredible things about it. They are described below as follows.
hiEpqHVN6uMN
Dot Net is a primary domain which existed from a long time. But, a few people know about this and using it still. Besides, there are many domains registered at the top level and use it for the website creation. Those domains immediately buy a dot net site and increase the visibility to the site.
More registered domains
Over 15 million registered domains use this Dot Net training that was taken from 1.5 million users. However, it let the users double the sites and enhance it based on the language supportive domain forever.
Rely on other languages
If you are a code developer, you can use the Dot Net online Training from other Java and related programming systems. Moreover, the Dot Net has the choice of language, and thus training provides basic things in a powerful way.
More speed in training
With the help of dot net training, the coder can start coding by faster skills and grab attention on real complication process. This is pretty faster when compared with other programming software. Naturally, it eliminates the startup delays entirely once you start coding it.
Easy to develop programs
The user efficiently codes the programs with the help of dot net training than any other languages. This is the main reason that much 3D game engines and other compilers use the dot net framework.
Revolutionary language
It has brought a revolution on the Linux desktops in the form of Mono. They show with the great applications which will bring additional features to work on it. However, this training provides everything related to the coding and thus providing revolution on the programming skills.
Use of Open Source
The dot net software CLI or Command Line Interface use the Open Source. It is developed by independent and standard results operating by single sources. This is furthermore the codes are available to all and can be attained by using specific training.
User friendly
If you enroll in the dot net training courses, they provide comfortable as well as user-friendly programming languages for all. It makes you easier to learn the program and thus to give the right platform for learning the training from online. Therefore, the training provides everything related to the source program and enroll in the particular programming language forever.
Learn More courses Details………..
or Call  : +91 – 9962504283

Saturday, 21 January 2017

Dot Net Applications & Advantages

Dot net is a software Framework & developed by Microsoft Company. Dot net software also called Visual Studio. Every day learn something new one then improve your knowledge. This is the best TIME to lead your bright future. In our Besant Technologies provide good training. More Details……………….


Besant Technologies- DotNet


 Applications
  • Engineers can utilize .NET to plan applications for particular business capacities, for example, back, CRM, supply administration and so forth.
  • It can likewise be utilized to re-plan applications to serve developing needs of an association
  • Gives stages, devices, and a programming domain for tending to the outline and general administration of disseminated and multi-layered applications
  • Gives individual and business clients with a flawlessly interoperable and Web-empowered interface for applications and processing gadgets
  • Permits the whole scope of registering gadgets to cooperate
  • Gives modified get to and conveyance of items and administrations to the client from a solitary beginning stage for overseeing different applications, for example, email
  • Coordinates different correspondences media, for example, email, fax and telephones


Advantages:


  • It permits the utilization of numerous dialects
  • It has flat versatility
  • .NET makes a bound together environment that permits engineers to make programs in C++, Java or Virtual Basic
  • Interfaces effectively with Windows or Microsoft
  • All instruments and IDEs have been pre-tried and are effectively accessible in the Microsoft Developer Network.
  • UI best practices are more steady
  • Dialect coordination is consistent, as you can call techniques from C# to VB.NET

 
       




Tuesday, 20 December 2016

Introduction of Dot Net Training

Dotnet Training:
Nowadays all the companies using software Technology. It is Base of all the fields.Now Important one course is Dotnet Training. Our TIS Academy is the best Dot Net Training . Take in Dot Net from fundamental level to propel level from our continuous specialists. On the off chance that you will participate in TIS foundation implies then be prepared for your continuous projects.Our syllabus are planned by numerous HRs and corporate individuals. we are prepare our understudy in both meeting perspective and ongoing practical manner.


Job opportunities in Dot Net

As a coordinated situation, .NET is having much request in the market in item based and benefit based associations and in all most every one of the areas. It is having extensive variety of use everywhere throughout the world and henceforth the employment opportunities will be enormous in number. Being a .NET proficient one can without much of a stretch get a vigorous workplace at any association effectively. We at TIS Academy, prepare the wannabes on Interview.

Dot Net Training Syllabus :
ü What is .Net ?
ü What are the libraries available in .NET framework ?
ü What are the IDE’s available to code in .NET ?
Ø Idea on .NET framework.
·        NET Program Execution
·        Common Language Runtime (CLR)
·        Base Class Library (BCL)
·        Common Type System (CTS) ,more…………………..
Ø Visual Studio IDE
Ø Object Oriented Programming
·        What is class
·        What is object
·        Memory allocation for objects,more...................
Ø C#
·        Introduction
·        Syntax and coding guidelines
·        Console Applications
·        Built-In types, Keywords,more…………
Ø ASP.NET
·        Introduction
·        View state
·        Life cycle of a web application,more………….
Ø SQL SERVER SYLLABLE
·        Introduction and overview
·        RDBMS and its need
·        Data types, operators and expressions
·        Connecting to SQL server,more………………………..
Ø Dot Net Placement Training
·        More than 2000+ students Trained
·        92% percent Placement Record
·        1000+ Interviews Organized

Ø In our Related Other courses are

*    JavaTraining
*    SASTraining


Data Science- Backbone of IT Industry

Data Science Training in BTM Layout With the shift from analog to digital, the flow of data has increased exponentially. Data is col...