Blog Archives
1 … 8 9 10 11 12 13 14

Q21 – Q30 JavaScript Q&As on self-invoking & argument

Q21. What will be the output of the following JavaScript code?

A21. The “module” is an object defined within “{….}”. It has a property “x” and a function “getX”. It is important understand the magic variable “this”.

Because in //2 case, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Q31 – Q37 JavaScript Interview Q&A on Closure

Q31. What is a Closure in JavaScript? A31. A closure is an “inner function” that has access to the “outer function’s” variables—scope chain. The closure has three scope chains: 1) It has access to variables defined between its curly brackets. 2) It has access to the outer function’s variables. …...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Q6 – Q10 Groovy basics interview Q&A

This extends Groovy basics interview questions and naswers Q6. What is the difference between using double quotes and single quotes in Grovvy for the strings? A6. Double quotes are a templatable String, which will either return a GString if it is templated, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Regular Expressions interview Q&As for Java developers

Q1 What’s the difference between a wildcard and a regular expression? A1 A wildcard is a generic term referring to something that can be substituted for all possibilities. In computer terms, usually a simple “wildcard” is just a * that can match one or more characters, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Regular Expressions Practice – Java Matcher class csv example

Let’s look at how to validate a CSV (i.e. Comma Separated Value) string using regular expression in Java using the Pattern & Matcher classes. Refer to the Java Pattern class API for what each syntax mean. Regular expressions may look complex, but if you understand the patterns and break them down into simpler steps,

…

Read more ›



Regular Expressions Practice – Java Matcher class tokenize example

If you are new to regular expressions then start with 8 Regular Expressions (aka Regex) by examples for Java developers.

This is a real life scenario as to how regular expressions can come in handy to solve day to day problems. Regular expressions are very powerful and can be used by developers &

…

Read more ›



sed and awk to write shell scripts for Java developers

Q. How would you go about replacing a piece of a text or a phrase from 20,000+ web templates residing on a Unix file system? Even some candidates with 5+ years of experience will be tempted to spend a day or two to write 200+ lines of code to achieve...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Setting up Cygwin with Git Tutorial

Step 1: Download and install Cygwin. Add additional packages to the Cygwin setup. Advance through the setup wizard accepting all default options until the “Select Pages” dialog is reached. Enter the word git into the Search input field and from the filtered list presented in the main dialog form select...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


SQL procedures vs functions with postgresql (i.e. plpgsql) examples

Q01 What is the difference between SQL stored Procedures & Functions?
A01 Stored procedure does not have a RETURNS clause, but you can use the OUT or INOUT parameter. Stored procedures are transactional whereas functions are not.

…

Read more ›



SQL querying Temporal tables & SCD Type 2

Q1. What is a temporal table? A1. Temporal tables store and maintain information with respect to time. This tracks data changes, and enables us to maintain and manage the history of the data in a table. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


SQL retrieving the latest records interview Q&As

This question can reveal a lot about your ability to write SQL queries as different approaches can be used and there will be drill down on pros and cons of each approach. Q1. Given the following SQL, how do you retrieve the latest records by updated date for each user?...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


SQL Subquery interview questions and answers

Q. What is a subquery? A. Subquery or Inner query or Nested query is a query in a query. A subquery is usually added in the WHERE clause of the sql statement. A subquery can be nested inside a SELECT, INSERT, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Sum grades Groovy coding questions & answers

Q1. Given the following grades, can you write Groovy code to sum the grades? A1. inject(0) initializes the result to 0. Each grade is then added to the result. The inject is an enhanced method on the GDK (Groovy Development Kit) “inject(Object initialValue, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 8 9 10 11 12 13 14

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data