Web socket are introduced in java EE7 JSR 356 is related to web socket and provides API for creating web socket applications. Web socket is an application protocol that for a ideas full-duplex communication between two peers over the TCP protocol. The web socket enables web applications to deliver a …
Read More »Top 20 Interview Questions in Java
Expert answers to top Java interview questions for your coding journey.Here are top interview questions in Java for both freshers and experienced. Interview Questions in Java 1) String is mutable or immutable in java? Ans: In java all string are immutable. ( a mutable string can be changed but immutable …
Read More »How to change the port number of the Tomcat Server
Sometimes developers might facing server problems like “Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop …
Read More »How to Write a program part – 2
A program is a solution of a specific program which is unique for similar type problems. So a program is more helpful to find out the solution of a problem. A program follow some syntax rules based on which programming language is choose by the programmer. Before going to solve …
Read More »MIME – Multi Purpose Internet Mail Extension
A MIME stands for Multipurpose Internet Mail Extension. In the context of internet or web applications the way of identifying files according to their nature and format. While developing the web applications specify content-type in the header part of HTTP – response. A MIME type is a mechanism that can …
Read More »Bucket Sort
Bucket sort is a sorting algorithm also knows as bin sort, it works with distributing elements of an array into a number of buckets. A bucket is most commonly a type of data buffer or a type of document in which data is divided into regions. Elements or contents in …
Read More »Installation of Hadoop
Hadoop is run on Linux kernel. If you want to install Hadoop on windows OS, Cygwin need to install in your machine. Cygwin is creating linux like environment in windows. Here is the link to get cygwin. https://cygwin.com/install.html Hadoop can be installed in Multi Node cluster / single node cluster. …
Read More »First Java Program
Java Program – Basic Syntax: public class ClassName { public static void main(String args[]){ Variables; Statements; } } First Java Program: public class FirstJavaProgram { /* This is my first java program. * This will print ‘Hello World’ as the output */ public static void main(String []args) { System.out.println(“Welcome to …
Read More »Features Of Java Programming
Java Features or Buzz Words: 1. Simple 2. Secure 3.Portable 4.Object-oriented 5.Robust 6.Multithreaded 7.Architecture-neutral 8.Interpreted 9.High performance 10.Distributed 11.Dynamic We discuss about these words how java supported. Simple: java is simple to write program and easy to learn if you understand the basics of OOP. Because it was acquire some …
Read More »Sorting Technique
In this blog I am going to discuss about sorting, what is sorting and how many types of sorting techniques we have. Sorting is technique to arrange the elements in an order either ascending or descending. The most-used orders are numerical order and lexicographical order. Efficient sorting is important for …
Read More »