Skip to main content

Posts

Showing posts from August, 2018

What is sales?

In simple words, "Transfer of ownership in terms of values is known as sales" By scholars, it is defined as "Exchange of a thing(Subject matter) of value with another thing of value, with mutual consent." How the concept evolved? We all know, initially when the civilization was evolving, the concept of barter system came into existence. Barter system says one person gives something in exchange of another thing from another person. Same is happening today but scenario has been changed little bit, the two things are Commodity Currency Sales is an activity related to selling of goods & services (in given time sometimes). It is not just a process of exchange but it also develops relationships with customers or demand partners. There are cases where companies set sales volume targets for a period(weeks, months or quarters or sometimes years) and have strategies in place. Sales is the final stage in marketing includes 4 P's P- Product P...

Interview Question : What are your strengths and weaknesses?

Interview process always include this question and it's a very important question from interviewer's perspective but it is more important for candidate too because this is the point where interviewer can decide whether he wants to go with the candidate or he might call the next candidate for the discussion. First of all, I will share some conversations between candidate and interviewer so that you may get some idea about the mistakes usually made by candidates while answering the question. Interviewer : What are your strengths and weaknesses? Candidate A : My strength is that I am a positive minded person and helping tendency. My weakness is that I can't communicate properly. Candidate B: Strength is an adaptive person, understand things easily, encouraging others. My weakness is laziness so that I don't much time to complete work it's also my positive. Candidate C : My strengths are I'm a quick learner, I have leadership qualities, self-motivation, easy goi...

Why we use String as key in Hashmap? or Is it good to have String as key in Hashmap?

String is one of the most used classes in any programming language. We know that String is immutable and final in java and java runtime maintains a String pool that makes it a special class. String is immutable, its hashcode is cached at the time of creation and it doesn’t need to be calculated again. This makes it a great candidate for key in a Map and it’s processing is fast than other HashMap key objects. This is why String is mostly used Object as HashMap keys. Note : HashMap uses hashCode() and equals() methods on keys for get and put operations. So HashMap key object should provide good implementation of these methods. This is the reason immutable classes are better suitable for keys, Let's say, We have some data of the students and we need to keep that data for further processing in a Hashmap. HashMap<String, String> students = new HashMap<>(); students.put("S1", "Student1"); students.put("S2", "Student2"); students.p...

What is CDN and How CludFlare will help you to boost your web application?

CDN is short for content delivery network . A content delivery network ( CDN ) is a system of distributed servers (network) that deliver pages and other Web content to a user, based on the geographic locations of the user, the origin of the web page and the content delivery server. A Content Delivery Network (CDN) consists of two components: The Origin Server(s) – where the content to be distributed over Internet is originally stored & Cache Server(s) – where the content is duplicated. There is generally one Origin Server (either in the customer’s data center or in the cloud, with the content delivery network service provider – for example) and many cache servers (in multiple locations across the globe) so that, when a consumer is requesting a particular content on the Internet, it can be served by a cache server nearest to the consumer’s geographical location if the content is available there. Other wise, cache server fetches the content quickly from the origin server after protoc...

Font Awesome Icon Cheatsheet

Font Awesome is a font and icon toolkit based on CSS and LESS. It was made by Dave Gandy for use with Twitter Bootstrap, and later was incorporated into the BootstrapCDN. Font Awesome has a 20% market share among those websites which use third-party Font Scripts on their platform, ranking it second place after Google Fonts.To add these icons to our website we need to add some basic configuration i.e. adding font awesome library css. To add that you need to add it like this. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> Here I have CDN link you use the offline version as well. Now to add any icon on your web page you need to put tag i.e. <i> </i> and this tag will have an associated class with it to show the icon on page as. <i class="fa fa-glass"></i> It will show a glass and <i class="fa fa-glass fa-3x"></i> will show a glass but 3...