April 24, 2017

Ek Shringaar-Swabhiman actress Sangeita Chauhaan’s husband missing since Thursday

Ek Shringaar-Swabhiman actress Sangeita Chauhaan with her husband Chirag Shah
Television actress Sangeita Chauhaan's husband Chirag Shah, has been reportedly missing from the last few days.

April 21, 2017

Did you know Urvashi Dholakia was given an ultimatum to lose weight by producers?

Urvashi Dholakia, who played the iconic role of Komolika Basu in 'Kasautii Zindagii Kay' was recently subjected to body shaming. The pretty actress, met her friend and out of no context, he told her that she looked beautiful, but she needed to lose some weight. Miffed by this incident Urvashi vented out her emotions on social networking sites. She wrote, "I hate the thought of size zero. I love myself just the way I am! Be it healthy or healthier."

April 18, 2017

A street named after Diana Penty's ancestors!

Did you know that a street named ‘Penty Naka’ in Jabalpur, Madhya Pradesh is named after actress Diana Penty’s ancestors?

Diana, who is currently shooting for her upcoming film Lucknow Central, has a street named after her great grandfather, Maneck S. Penty. And since Diana comes from a family of food lovers, it's only fitting that Penty Naka is an area known for its street food!

Lisa Ray all set to be seen in Dobaara: See Your Evil

The incredibly gorgeous Lisa Ray who owns our hearts with her talent, gumption and her spirit is all set to take on the silver screen again - this time with Prawaal Raman's Dobaara: See Your Evil. Releasing on May 19, Lisa will be part of a four character based human drama with an edge of horror co-starring Huma Qureshi, Saqib Saleem and Adil Hussain.

April 17, 2017

April 12, 2017

Baahubali 2: The Conclusion exclusive IMAX Poster unveiled

The much awaited movie Baahubali 2: The Conclusion is all set to release this April. Ahead of its release, the movie’s exclusive poster in the IMAX format was launched today at INOX, R-City Mall Ghatkopar.

My association with Sony YAY! aims to bring happiness to all the young ones across the country : Tiger Shroff

Sony Pictures Networks India (SPN) today announced the launch of its much-awaited Kid’s Entertainment Channel – Sony YAY! that will go LIVE on 18th April 2017. Promising to be the ‘Destination for Unlimited Happiness’ for Kids, the channel has roped in the young cinestar, Tiger Shroff, who has become a phenomenon with kids across the country, as its brand ambassador.

#CristyLane - One Day At A Time, Sweet Jesus lyrics

I'm only human, I'm just a woman.
Help me believe in what I could be
And all that I am.
Show me the stairway, I have to climb.
Lord for my sake, teach me to take
One day at a time.

April 07, 2017

Sony YAY! signs Tiger Shroff as Brand Ambassador

Sony YAY!, soon to be launched Kids’ Entertainment Channel from Sony Pictures Network, has roped in the country's newest heartthrob Tiger Shroff as the brand ambassador and face of the channel. This would be the debut television association of the young star whose popularity amongst children is today unbounded.

April 06, 2017

BARC Ratings (Impressions)- Week 13, 2017

'Jigariyaa' actor Harsh Vardhan Deo to play the gangster in a short film!

Actor Harsh Vardhan Deo, who played the role of boy-next-door in his Bollywood debut with 'Jigariyaa' has literally gone through a 360-degree transformation. He will be seen as a ruthless gangster in the upcoming short film 'Neelofar'.

Vinod Khanna suffering from cancer?

Ailing Vinod Khanna with his second wife Kavita and son Saakshi
Dashing veteran Bollywood actor Vinod Khanna, who mesmerized the audience with his acting in films like Dostana, Parvarish, etc., was hospitalised to HN Reliance Foundation and Research Centre in Girgaon, Mumbai on Friday after he complained of discomfort. He is reportedly suffering from bladder cancer. However, son Rahul Khanna says that he was recuperating fast and will soon be out of the hospital.

April 05, 2017

Evelyn Sharma launches Evelyn's Secrets..

They say, beauty is skin deep,
For it the world weeps,
Evelyn now lets you peep,
Her secrets safe you can keep.

Evelyn Sharma wants to get personal with her fans; inside out. More personal than her interactions on social media. And for this direct connect, the actress and fashion philanthropist has come up with a unique idea. She has gone online with her secrets.

ALTBalaji set to take over Netflix and Amazon Prime Video!

Move over Netflix and Amazon Prime Video. Balaji Telefilms' and Ekta Kapoor's new digital entertainment app, ALTBalaji is taking aim at the biggest players in the digital streaming market. With an original content developed web series exclusively for the 300 million smart phone users in India, the app is all set to dethrone their competitors. After dominating and being the queen of Indian television, and even successful films, Ekta Kapoor's latest venture aims to capture the attention of the non-english speaking masses of the country as well.

Rakhi Sawant was having watermelons, not evading Police

While a team of Punjab Police’s Ludhiana unit was said to have come to Mumbai to arrest her this week, Rakhi Sawant was gallivanting all over Mumbai suburbs with Bollywood PR guru Dale Bhagwagar. The police were reported to be looking for the firebrand actress for her alleged derogatory comments on sage Valmiki, who authored the Ramayana.

"Contrary to reports, Rakhi Sawant has not been on the run or in hiding. Nor has she been evading anyone. She has not received any summons or warrant, and she has not been arrested. She has contacted the Police, though that does not imply 'surrender;' as the media has conveniently misconstrued. If the Police calls her, she will present herself before them," said Dale.

April 04, 2017

Tusshar and his son, Laksshya to miss Jeetendra's 75th birthday celebrations!

Tusshar Kapoor is known to be a doting and hands on father to his adorable son, Laksshya. He is even taking his son along for the month long Hyderabad schedule of Golmaal again. Due to this reason, Tusshar and Laksshya will have to miss Jeetendra's 75th birthday celebrations in Jaipur.

March 26, 2017

#ParthSamthaan affirms that the molestation case is completely baseless..

Parth Samthaan, who became a household name after the success of 'Kaisi Yeh Yaariyan' is not new to controversy. The actor, who was last accused of molesting model Gauri Arora is back in the news for molesting a model named Sushmita Chokraborty. Last Month, Sushmita filed an FIR against him for Molestation (354-A) in Bangur Nagar Mumbai. Today, the actor has been summoned by the police

March 24, 2017

Meet Bros. collaborate with Neeraj Pandey once again!

One of India’s most popular music composer duo, Meet Bros. are back with a new song called ‘Dil Hua Besharam’ from Neeraj Pandey’s upcoming film Naam Shabana. The duo has worked with Neeraj in the past when they composed the title track of Baby.

Begum Jaan's first song Prem Me Tohre OUT Now!

From the legendary Amitabh Bachchan lending his voice to the mind-blowing trailer to roping in the legendary Asha Bhosle to lend her voice to the first track Prem Me Tohre, Begum Jaan as a film has brought onboard powerhouse performers!

March 23, 2017

Phillauri’s 3D Hologram Projection is a huge hit!

For the first time ever, Bollywood is using 3D Hologram projection to promote a film! The makers of Phillauri, Fox Star Studios, is using 3D projection, making cine-goers interact with the bride in spirit, Shashi!

Shikha Kapur, Chief Marketing Officer, Fox Star Studios stated, “With Phillauri, our endeavor has been to create immersive ideas that transcend conventional norms of fan-star engagement. The unique storyline of the film where the lead actor plays a friendly ghost gives us the opportunity for experiential marketing that communicates both the theme of the film as well as gives us the chance for virality.”

BARC Ratings (Impressions)- Week 11, 2017

March 17, 2017

I Declare..

I 'K Himaanshu Shuklaa', declare that I must master my life in every area. I will no longer settle for a life that is less than what I know I deserve. I have had enough experience to know one side of life, and now it’s My Time to Shine.

March 13, 2017

Popular television actors recall their childhood Holi memories

It is said that, the innocence of celebrating the festival as kids can never really be forgotten. As Holi is just around the corner, we got in touch with a few popular actors to know what they are planning to do on Holi and share fond childhood memories associated with the festival.

March 12, 2017

#Spring: Event Handling in Spring

Sometimes in our spring application, we may want to add capability of listening specific events so that we can process these events as per application logic.

We can always write the event processing code as another method within existing application code, but then it will be tightly coupled with our existing code and we will not have much handle to change it later (we might need to disable it for certain duration or permanently remove it).

March 11, 2017

#Spring : Annotations

Spring provides support for annotation based container configuration.

@Required: It is applied on setters of the attributes of bean, which are mandatory, i.e specifies that a particular property must be injected or else the configuration will fail. Suppose you have an Employee bean, which has 'employee id', then you need to import @Required  from org.springframework.beans.factory.annotation.Required and add it before your setter method, e.g

public void setEmpId(String empId) {
    this.empId = empId;

And in the spring.xml you need to add,
< bean class="org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor" / >

After doing this, the "empId" property must be injected or else Spring will throw a BeanInitializationException and context creation will fail.

#Spring: Lifecycle Callbacks

registerShutdownHook(): To close the application context, we need to use AbstractApplicationContext which registers the registerShutdownHook() for the Java programme. This will ensure a graceful shutdown and call the relevant destroy methods.It is used for desktop applications, not for the web applications.

#Spring: Using MessageSource to get text from property files

For an application to support internationalization, it requires the capability of resolving text messages for different locales.

Spring’s application context is able to resolve text messages for a target locale by their keys. Typically, the messages for one locale should be stored in one separate properties file, which is called a resource bundle.

March 10, 2017

#Spring : BeanFactoryPostProcessor and BeanPostProcessor..

BeanPostProcessor tells Spring to do some processing after initialization some beans.

BeanPostProcessor is interface which defines callback methods, with these methods we can tell Spring to do some processing after initialization of beans. This allows you to add some custom logic before and after spring bean creation.

You need to configure, your own BeanPostProcessor in spring.xml (you can configure same BeanPostProcessor multiple times)
< bean class = "com.test.MyBeanPostProcessor" / >

When you implement BeanPostProcessor, you need to override postProcessBeforeInitialization() and postProcessAfterInitialization() methods:

public Object postProcessBeforeInitialization(Object bean, String beanName)
    throws BeansException {
return bean; // you can return any other object as well

public Object postProcessAfterInitialization(Object bean, String beanName)
    throws BeansException {
return bean; // you can return any other object as well

We can configure multiple BeanPostProcessor interfaces and we can control the order in which these BeanPostProcessor interfaces execute by setting the order property provided the BeanPostProcessor implements the Ordered interface.

When you implement Ordered, you need to override getOrder() method:
public int getOrder() {
    return 1;

The BeanPostProcessors operate on bean (or object) instances, which means that the Spring IoC container instantiates a bean instance and then BeanPostProcessor interfaces do their work.

An ApplicationContext automatically detects any beans that are defined with the implementation of the BeanPostProcessor interface and registers these beans as postprocessors, to be then called appropriately by the container upon bean creation.

public static void main(String[] args) {
AbstractApplicationContext  context=new ClassPathXmlApplicationContext("beanPostProcessorSpring.xml");
    Traingle traingle3=(Traingle)context.getBean("traingle");

We need to register a shutdown hook registerShutdownHook() method that is declared on the AbstractApplicationContext class. This will ensures a graceful shutdown and calls the relevant destroy methods.

BeanFactoryPostProcessor: When BeanPostProcessor is registered as a post-processor with the BeanFactory, for each bean instance that is created by the BeanFactory, the post-processor will get a callback from the BeanFactory before any initialization methods (afterPropertiesSet and any declared init method) are called, and also afterwords.

But with BeanFactoryPostProcessor, you can apply changes of some sort to an entire BeanFactory, after it has been constructed.

You need to Override postProcessBeanFactory() method when you implement BeanFactoryPostProcessor interface.

public void postProcessBeanFactory(ConfigurableListableBeanFactory arg0)
    throws BeansException {
    System.out.println("postProcessBeanFactory is called..");       

BeanFactoryPostProcessor need to be configured in spring.xml in a similar way we have configured BeanPostProcessor,
< bean class = "com.test.MyBeanFactoryPostProcessor" / >

-K Himaanshu Shuklaa..

March 08, 2017

Why Swabhimaan actress Shalini Arora is elated these days?

Shalini Arora, who is currently seen in RajShri Productions's Ek Shringaar-Swabhimaan on Colors' is quite elated these days. The reason is not just the show, but her on-screen name.

International Women's Day: Is celebrating just one day enough?

On the occasion of International Women's Day, we spoke to a few popular actors to know there views on whether we should celebrate the day or not?

Java Program to Traverse a Graph using BFS and DFS..

What is the difference between BFS and DFS?

  • BFS Stands for “Breadth First Search”, where as DFS stands for “Depth First Search”.
  • BFS starts traversal from the root node and then explore the search in the level by level manner i.e. as close as possible from the root node. DFS starts the traversal from the root node and explore the search as far as possible from the root node i.e. depth wise.
  • Breadth First Search can be done with the help of queue i.e. FIFO implementation. Depth First Search can be done with the help of Stack i.e. LIFO implementations.
  • BFS algorithm works in single stage. The visited vertices are removed from the queue and then displayed at once. DFS algorithm works in two stages – in the first stage the visited vertices are pushed onto the stack and later on when there is no vertex further to visit those are popped-off.
  • BFS is slower than DFS
  • BFS requires more memory compare to DFS.

  • BFS is useful in finding shortest path.BFS can be used to find the shortest distance between some starting node and the remaining nodes of the graph. Where as    DFS in not so useful in finding shortest path. It is used to perform a traversal of a general graph and the idea of DFS is to make a path as long as possible, and then go back (backtrack) to add branches also as long as possible.
    Breadth First Search

    Depth First Search
package com.graph;
public class GraphNode {    
/*Graph is a collection of linked nodes and values.
 *Each GraphNode has reference to each of its neighbouring nodes.
 *We also store reference of the node’s value and whether or not we’ve visited the node before.*/
    public GraphNode[] neighbours;
    public String val;
    public boolean visited;
    public GraphNode(String value) {
        this.val = value;
        this.visited = false;

import java.util.LinkedList;
import java.util.Queue;
import java.util.Stack;

public class MainDriver {
    public static void main(String[] args) {
        GraphNode a = new GraphNode("a");
        GraphNode b = new GraphNode("b");
        GraphNode c = new GraphNode("c");
        GraphNode d = new GraphNode("d");
        GraphNode e = new GraphNode("e");
        GraphNode f = new GraphNode("f");
        a.neighbours=new GraphNode[] { b, c };
        b.neighbours=new GraphNode[] { a, d };
        d.neighbours=new GraphNode[] { b};       
        c.neighbours=new GraphNode[] { a, e, f };
        e.neighbours=new GraphNode[] { c};
        f.neighbours=new GraphNode[] { c };
    1). Create a new Java Queue of type GraphNode
    2). Mark our root GraphNode as discovered and print it out
    3). Add the root GraphNode into the Queue
    4). Loop through the Queue infinitely until it is empty
        4.1). Poll the head of the Queue for the GraphNode
        4.2). Loop through all GraphNode neighbours of the polled head
        4.3). If the neighbour has not been discovered, mark it as discovered and add it into the Queue
    public static void BFS(GraphNode node) {       
        Queue queue = new LinkedList();
        node.visited = true;
        while(!queue.isEmpty()) {
            GraphNode v = queue.poll();
            for(GraphNode w : v.neighbours) {
                if(!w.visited) {
                    w.visited = true;
     1). Create a Java Stack and push the root node to it
     2). Loop until the GraphNode stack is empty
        2.1). Pop the top GraphNode off the stack
        2.2). If the node has not been visited, mark it so and loop through all GraphNode neighbours in reverse
            2.2.1). Push each neighbour into the stack
     * */
    public static void DFS(GraphNode node) {       
        Stack stack = new Stack();
        while(!stack.isEmpty()) {
            GraphNode v = stack.pop();
            if(!v.visited) {
                v.visited = true;
                for(int i = v.neighbours.length - 1; i >= 0; i--) {

March 01, 2017

Data Structures and Algorithm Interview Questions for Java Developers

How to find middle element of linked list in one pass?
In order to find middle element of linked list we need to find length first, but since we can only traverse linked list one time, we will use two pointers one which we will increment on each iteration while other which will be incremented every second iteration. so when first pointer (currect_pointer) will point to the end of linked list, second (middle_pointer) will be pointing to the middle element of linked list.

If the list the length is odd or even, if its odd then middle_pointer=middle_pointer+1;
e.g: suppose, if length =6, then after traversing, current=6 and middle_pointer=3.
if length =5, then after traversing, current=5 and middle_pointer=2. As the length is odd, we need to increment the middle_pointer, hence the 3rd element is the middle one.

I got to learn a lot of things from Ravindra Gautam: Vishal Bhardwaj

Vishal Bhardwaj, who was last seen in SAB TV's 'Khidhki', recently entered in Star Plus' Meri Durga. Here the dashing actor talks about his role in the show and shares his experience in working with Paperback films..

What are the shows you have done?
My first show was Itti Si Khushi on Sony TV, after that I did Krishnadasi, Silsila Pyar Ka and Sasural Simar Ka. Apart from this, I also did some episodic shows like Savdhaan India, Bhakton Ki Bhakti Mein Shakti, Devlok With Devdutt Pattanaik and Maha episode of Sab TV's Khidhki.

February 22, 2017

Diana Penty plays an NGO worker in Lucknow Central!

Diana Penty, who portrayed the lead role in the family entertainer, Happy Bhag Jayegi released last year, will be seen playing an NGO worker in her forthcoming film, Lucknow Central.

The movie produced by Nikhil Advani and which marks the directorial debut of Ranjit Tiwari, will see Diana share screen space with Farhan Akhar for the first time.

February 20, 2017

"I am hale and hearty," Farida Jalal SLAMS death rumours

After Dilip Kumar, Amitabh Bachchan, Yo Yo Honey Singh, another actress becomes a victim of death hoax on social media. Yesterday, news of Farida Jalal's death spread like wild fire on social networking sites.

February 19, 2017

'Jodha Akbar' fame Ravi Bhatia turned singer..

After doing an International superhero series 'Roro Jonggrang', actor Ravi Bhatia has added another feather in his cap. He will be soon seen showcasing his singing talent along with a famous Indonesian singing sensation Adila Fitri.

Vishal Bhardwaj to enter 'Meri Durga'..

Vishal Bhardwaj, who was last seen in 'Sasural Simar Ka' has been zeroed to play a prominent role in the Tenn-Speed TV India and Paperback Films' show 'Meri Durga' (on Star Plus).

February 14, 2017

First look of Santosh Shukla starrer 'Khatoon'..

Santosh Shukla, who shot to fame from Bigg Boss season 6 made his Bollywood debut with Salman Khan's blockbuster film 'Jai Ho'. The dashing actor, will soon play the lead role in a war drama titled 'Khatoon'.

February 08, 2017

‘Ek Vivah Aisa Bhi’ actress Tassnim Sheikh offers prayers at the Mahakaleshwar temple

Be it a celebrity or a layman, everyone seeks blessings of the almighty, especially when they are going to start a new chapter in life. Similarly, the popular and gorgeous actress Tasneem sheikh, who is all geared up to restart her career back in the television industry went on a spiritual journey.

February 07, 2017

IN PICS: Kangana Ranaut recreates Rangoon in Jammu

Kangana Ranaut recently visited the armed forces in Jammu to encourage the Indian soldiers in their quest to protect the country.

February 03, 2017

Zee Anmol presents Jamai Raja..

In any Indian household, the son-in-law is given utmost importance which explains the phrase – Jamai ‘Raja’. But one rarely speaks or hears about the son-in-law’s responsibility towards his wife’s family. Zee Anmol, one of India's leading FTA (Free to Air) television channel, brings to you ‘Jamai Raja’ a story of the son-in-law who takes responsibility after marriage and embarks on the journey to set right the discord between his wife and mother-in-law and fills their world with love and happiness! ‘Jamai Raja’ premieres 6th February, 2017 Monday to Friday at 9 PM.

February 02, 2017

J&K C.M Mehbooba Mufti went gaga over Imran's upcoming film 'Sargoshiyan'..

Imran Khan, who is currently seen in Sony Entertaintment's 'Beyhadh' recently went to Gulmarg to attend the snow carnival and to meet Jammu and Kashmir Chief Minister, Mehbooba Mufti in . She went gaga over Imran's upcoming film 'Sargoshiyan', which is scheduled to be released April, 2017.

BARC Ratings (Impressions)- Week 4, 2017

Bani J fans fret and fume after their idol loses Salman Khan's Bigg Boss

Bani J fans have been helplessly causing a ruckus on Twitter, fretting and fuming that their idol was not made the winner of India's No 1 reality show Bigg Boss hosted by Bollywood superstar Salman Khan.
It can be noted here that chess master Dhyani Dave who is known to analyze Bigg Boss like a game of chess, was one of the first to raise a concern in the media, saying Bani J was being projected as a winner of Bigg Boss 10.

February 01, 2017

OMG! Namish Taneja got robbed..

Namish Taneja, who was last seen in 'Swaragini' co-owned a boutique with his sister. They recently set up a stall in the exhibition in Lokhandwala, where someone stole bag worth Rs 3 Lakhs.

 The actor has managed to get the CCTV footage of the exit door and filed the FIR in Oshiwara police station (Mumbai).

'Saath Nibhana Saathiya' actor Harsh Rajput to make debut in Gujarati industry with a music single..

Harsh Rajput, who was last seen in 'Saath Nibhana Saathiya' recently shot for a music single 'Pehlo Prem'. Being a Gujarati he is pretty excited, because this will be the first time he is doing something in his mother tongue.

"Your mother tongue is always close to your heart. That's why this music single is a bit special for me as it's in Gujarati. I'm thrilled as 'Pehlo Prem' will be my 'Pehlo Gujrati Debut'," said Harsh, who did the shows like Janbaaz Sindbad and Sapne Suhane Ladakpan Ke.

January 31, 2017

'Jodha Akbar' fame Ravi Bhatia feels, Hrithik deserve an Oscar for 'Kaabil'

Actor Ravi Bhatia, who was last seen as 'Salim' in Ekta Kapoor's historic show 'Jodha Akbar' managed to grab eyeballs with his amazing performance and stellar acting skills. From last one and half year he is Indonesia, where he is doing reality shows and daily soaps. The dashing actor recently witnessed an absolute fanboy moment after getting reply from Hrithik Roshan.

January 28, 2017

Beyhadh cast had a ball of a time at Kushal Tandon's house party

Sony Entertainment Television's show 'Beyhadh' has won hearts of fans and is getting rave reviews. The show recently has completed six months of successful run. To celebrate the occasion Kushal Tandon, who is seen as Arjun in the show had made an impromptu decision to throw a house party. The party was attended by Jennifer Winget, Aneri Vajani, Imran Khan, Vibha Bhagat, Sumit Bhardwaj, Rajesh Khattar and Swati Shah, went on till wee hours in the morning.

January 27, 2017

Taylor Swift and Zayn Malik's Video for 'Fifty Shades Darker' Song released

The wait is finally over as Taylor Swift and Zayn Malik’s amazing collaboration on the song ‘ I Don’t Wanna Live Forever’ finally has a video! Taylor Swift previously had shared a small clip of the song on her social media teasing her fans with the song release. The video released today and showcases a smoldering visual parallel to the style pointers of the film- Fifty Shades Darker.

Bani J will win Bigg Boss 10, feels Dhyani Dave

Though in her heart of hearts, she wishes to be proved wrong, chess master Dhyani Dave feels Bani J will win Bigg Boss 10. "It's a given. It's been obvious. She has the right friends, contacts and connections. That's also the way her defiant projection has been. So sadly, it's her as winner," claims Dhyani who is known to dissect Bigg Boss just like a game of chess.

"But after the humongous amount of foul-mouthed dirtiness Bani has brought to this season, having her win is akin to having an Om Swami win," she laments. So who would be the appropriate real choice?

"Undoubtedly, Manu Punjabi," feels Dhyani. "He has been a man of ethics, tact and correctness. Isn't that how an ideal new-age man should be. Manu has been amiable with housemates even after having tiffs. His deft handling of delicate situations has been admirable."

Dhyani also has a special word for Manveer Gurjar. "He has lacked in individuality, but has been a good support system to other contestants. He has that quality to stand by his friends, making them feel like family... something the Bigg Boss House has been lacking from the last two seasons," she points.

As the Bigg Boss Grand Finale with Salman Khan approaches, one hopes the controversial reality show catches up on more TRPs in its final week. By the way, did you notice, Dhyani skipped mentioning Bani's bête noire Lopamudra Raut. Wonder why!
RSSChomp Blog Directory