Zindagi, the No. 1 Premium Entertainment Channel, launched with a promise of bringing the best stories from across the world to Indian television screens. This summer, fulfilling its brand promise of Bemisaal Kahaniyaan, the channel has launched stories that will charm our viewers with their realistic appeal, superlative character portrayals, captivating performances and their ability to satiate the sensibilities of the modern viewer.
May 17, 2016
Kavita Kaushik return to the small screen as Dr. Bhanumati..
An apple a day keeps the doctor away but with a doctor like Bhanumati who needs an apple anyway? Sony SAB is all set to launch a new hospital based comedy series called ‘Dr. Bhanumati On Duty’.
Set in rural Rajasthan, the show will focus on Dr. Bhanumati Bhinn a no-nonsense Rajasthani army doctor who is known for her unique style in curing her patients. With actress Kavita Kaushik in the lead as Dr Bhanumati Bhinn, the show will also feature Gopi Bhalla as Lovely Singh Dhingra who is her assistant-cum-sidekick. Dr. Bhanumati On Duty is set to hit the tube on Tuesday, 7th June onwards, Monday to Friday at 22:30 hours on Sony SAB.
Set in rural Rajasthan, the show will focus on Dr. Bhanumati Bhinn a no-nonsense Rajasthani army doctor who is known for her unique style in curing her patients. With actress Kavita Kaushik in the lead as Dr Bhanumati Bhinn, the show will also feature Gopi Bhalla as Lovely Singh Dhingra who is her assistant-cum-sidekick. Dr. Bhanumati On Duty is set to hit the tube on Tuesday, 7th June onwards, Monday to Friday at 22:30 hours on Sony SAB.
May 11, 2016
I am sure Waaris will do well: Iqbal Khan
Iqbal Khan who was last seen in Pyar Ko Ho Jaane Do as a terrorist is back to doing what he does best! Iqbal will be seen as Charan in &TV’s upcoming show Waaris, a loving husband, a doting father and a dutiful son. Set against the backdrop of Punjab, Waaris will a fresh new couple on screen – Iqbal Khan and Aarti Singh. Both the actors known for their portrayal of strong characters are certain to light up the screen with their brilliant performances as the peculiar family drama will unfold. Iqbal Khan in an exclusive chat with us –
May 09, 2016
When Mawra Hocane met Dream Girl-Hema Malini!!
Bollywood's original dream girl Hema Malini can still mesmerize her fans with her beauty and enigmatic personality. Recently, Mawra Hocane, the newest addition to the Hindi film industry from across the border had the opportunity to meet the graceful actress at an event in Jaipur. Mawra was awestruck when she saw Hema ji at the event and was very excited to see her there.
May 05, 2016
BARC Ratings (Impressions)- Week 17, 2016
In week 17 (23-29 April, 2016) of the BARC Ratings, Star Plus bounced back to the top spot after being pushed to the second spot by Colors in week 16. Colors slipped down to the second spot followed by Sony Pal at No.3 which replaced Zee TV to acquire this spot. Zee TV slipped down to No.4 whereas, Star Utsav acquired the fifth spot.
May 01, 2016
#Java: Enum Interview Questions & Answers
- Enumeration (Enum) in Java was introduced in JDK 1.5.
- Most of the other programming languages like C, C++, etc also provide support for enumerations.
- Enum is a keyword, a feature which is used to represent a fixed number of well-known values in Java, For example, number of days in a week.
- Enum constants are implicitly static and final and you can not change their value once created. In short, enumeration is a list of named constants.
- Enum in Java provides type-safety and can be used inside switch statements like int variables.
April 26, 2016
Part 3: Java Design Pattern Interview Questions & Answers (Factory and Abstract Factory)
In Part 1 of Java Design Pattern Interview Questions & Answers, we discussed the basics. In Part 2, we implemented the Singleton design pattern. In Part 3, we will understand Factory and Abstract Factory design patterns.
What is a static factory or factory method Design Pattern?
It is one of the most used design patterns in Java. This type of design pattern comes under creational pattern as this pattern provides one of the best ways to create an object. In the Factory pattern, we create an object without exposing the creation logic to the client and refer to a newly created object using a common interface.
Part 2: Java Design Pattern Interview Questions & Answers (All About Singleton Design Pattern)
In Part 1 of Java Design Pattern Interview Questions & Answers, we discussed the basics. Now in Part 2, we will discuss the Singleton design pattern in detail.
What is the Singleton pattern?
Singleton pattern is one of the simplest design patterns in Java. This type of design pattern comes under creational pattern as this pattern provides one of the best ways to create an object.
This pattern involves a single class that is responsible to create an object while making sure that only a single object gets created. This class provides a way to access its only object which can be accessed directly without the need to instantiate the object of the class.
There are many classes in JDK which is implemented using Singleton pattern like : Java.lang.Runtime with getRuntime() method, Java.awt.Toolkit with getDefaultToolkit() and Java.awt.Desktop with getDesktop() etc.
Part 2: Scenario Based Java Design Pattern Interview Questions & Answers
Scenario 1
- A company named XYZ Retail is in the business of selling Books, CD's and Cosmetics.
- Books are sales tax exempt and CDs and Cosmetics have a sales tax of 10%.
- CD's can be imported and attracts an import tax of 5%.
- Write a simple shopping basket program, which will calculate extended price (qty * (unitprice + tax)) inclusive of tax for each item in the basket?
GIT URL: Scenario 1 Solution In Java
Java Solution
We will first create the TaxCalculator interface and its implementation TaxCalculatorImpl.
Goods class is abstract as it implements the common behavior of Book, CDs, and Cosmetics. Also it composes (i.e composition) 'TaxCalculator' to perform the tax calculation based on if the good is imported and if sales tax is applicable.
Now, we will create Book, CDs, and Cosmetics classes that extends the shared behavior (inherits the shared behavior of Goods). The isTaxable & isImported are specific to the product. We can add new products in the future with specific taxable & importable behaviors.
-K Himaanshu Shuklaa
Part 1: Java Design Pattern Interview Questions & Answers
Design patterns are tried and tested ways to solve particular design issues by various programmers in the world. We can say design patterns are an extension of code reuse.
Design patterns versus frameworks
Are design patterns the same thing as frameworks? The answer to that is NO. Design patterns are more like general guidelines on how to solve specific programming problems, but they do not specify the detailed code that’s necessary to solve those problems.
What are the benefits of using design patterns?
- Reusable in multiple projects.
- Design patterns make our code easy to understand and debug.
- They provide an industry standard approach to solve a recurring problem.
- Design patterns also provide transparency to the design of an application.
April 24, 2016
#Java: Part 14-How does substring() inside String works?
Substring creates a new object out of source string by taking a portion of the original string. It is defined in defined in java.lang.String class.
substring() has two variants:-
substring() has two variants:-
- substring(int beginIndex): returns the substring starting from the specified index. The beginIndex is inclusive. This method throws IndexOutOfBoundsException if the beginIndex is less than zero or greater than the length of String.
- substring(int beginIndex, int endIndex): returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex – 1. Thus the length of the substring is endIndex-beginIndex (beginIndex is inclusive and endIndex is exclusive while getting the substring).
#Java: Part 13 JDBC Interview Questions And Answers
> > Part 12 Serialization Interview Questions and Answers for Experienced Developers
What is JDBC?
JDBC (Java Database Connectivity) is a Java API that is used to connect and execute query to the database. JDBC API uses jdbc drivers to connects to the database.
What is JDBC?
JDBC (Java Database Connectivity) is a Java API that is used to connect and execute query to the database. JDBC API uses jdbc drivers to connects to the database.
April 22, 2016
Madhuri shoots barefoot for the opening act of So You Think You Can Dance..
Everyone is aware of Madhuri’s love for dance. She believes that dance is an art and she has carved her niche in it. Madhuri Dixit who will be soon seen as the judge on &TV’s latest offering ‘So You Think You Can Dance - Ab India Ki Bari’ has done something phenomenal for the show. Read on to know more!
Subscribe to:
Posts (Atom)











