Browsed by
Author: priya

Are there any global variables in Java, which can be accessed by other part of your program?-

Are there any global variables in Java, which can be accessed by other part of your program?-

No, it is not the main method in which you define variables. Global variables is not possible because concept of encapsulation is eliminated here. In Java, the concept of global variables, as traditionally understood in some other programming languages like C, doesn’t directly apply. In Java, variables are typically declared within a class, method, or block, and their scope is limited to that particular context. However, if you want to create variables that can be accessed globally across different parts…

Read More Read More

Gulshan Grover

Gulshan Grover

Gulshan has acted in more than 300 movies. In 1981 he appeared in the Sanjay Dutt starer Rocky(1981). All the movies in which he has acted were big hits. For instance, Anil Kapoor’s Sadma(1983), Rajesh Kahnna’s Avtaar (1983), Ram Lakhan (1989), Akshay Kumar’s Mohra(1994), Criminal (1995), Gangster(2006) and many more. In Shah Rukh Khan’s Yes Boss, Ram Jaane and Duplicate, Grover played negative roles and got a lot of appreciation for them all. In 2008, he did a Punjabi movie…

Read More Read More

What is the class and interface in java to create thread and which is the most advantageous method?

What is the class and interface in java to create thread and which is the most advantageous method?

Thread class and Runnable interface can be used to create threads and using Runnable interface is the most advantageous method to create threads because we need not extend thread class here. In Core Java, the primary classes and interfaces used to create threads are: Thread class: The Thread class itself is used to create and manage threads. You can extend the Thread class and override its run() method to define the code that will be executed by the thread. Example:…

Read More Read More

Mukesh Khanna

Mukesh Khanna

Think of Mukesh Khanna and the image of ‘Shaktimaan’ springs to mind. Or is it ‘Bheeshma Pitamaha’. He is one of those rare actors who lives out two screen characters. As Mukesh Khanna says: ‘I totally believe in destiny and I was destined to give ‘Aashirwad‘ (rewind to Bheeshma in BR Chopra’s Mahabharat). But there is more to the making of Mukesh Khanna so lets go back a little and get some lowdown on the real ‘Shaktimaan‘. Graduating from St….

Read More Read More

What is the difference between exception and error?-

What is the difference between exception and error?-

?– The exception class defines mild error conditions that your program encounters. Exceptions can occur when trying to open the file, which does not exist, the network connection is disrupted, operands being manipulated are out of prescribed ranges, the class file you are interested in loading is missing. The error class defines serious error conditions that you should not attempt to recover from. In most cases it is advisable to let the program terminate when such an error is encountered.

Himesh Reshammiya

Himesh Reshammiya

An Indian music director, composer, singer and actor, Himesh Reshammiya was born in Bhavnagar to Vipin Reshammiya and Madhu Reshammiy Before becoming a music director, Reshammiya produced several television serials, including Amar Prem and Andaaz on Zee TV. He also composed the title song of both the serials. Himesh was actively involved in mentoring and judging the singing competition, Sa Re Ga Ma Pa Challenge on Zee TV. His group was known as Rock Gharana. His slogan for the show…

Read More Read More

Sonu Nigam

Sonu Nigam

Sonu Nigam was three years old when he began to sing. He joined his father to sing Mohammad Rafi’s songs. He participated in many music competitions. When he was nineteen years old, he moved to Mumbai and did covers of Mohammed Rafi songs for the album ‘Rafi Ki Yaadein’. He started his career as a playback singer with the movie Janum in 1990 which didn’t get released. He sang for Gulshan Kumar’s Aaja Meri Jaan and ‘Accha Sila Diya’ from…

Read More Read More

Prem Chopra

Prem Chopra

Prem Chopra was the most distasteful, lecherous, and downright evil ‘Bad Guy’ of 70s and 80s Bollywood cinema. Prem Chopra made the character of the bad guy frighteningly real. I have heard people say they are terrified even by the mention of his name. Certainly after watching one of his performances many would not want to be left alone in a room with him. In countless Bollywood films (he has acted in over 400 movies) Prem Chopra played the heavy…

Read More Read More

Milind Soman

Milind Soman

Milind Soman one of the forerunners of India’s modelling scene is known to have the most perfect face and bone structure. Milind has been a regular heartthrob ever since he started modelling more than a decade ago. With ramp, television and print assignments Milind quickly became popular in music videos .. like Alisha Chinai’s “Made In India”. Then came television serials like “A Mouthful Of Sky” and “Sea Hawks” and there was no looking back for this talented young man….

Read More Read More

Priyanshu Chatterjee

Priyanshu Chatterjee

Standing tall at 6 feel two inches, model-turned-actor Priyanshu Chetterjee is a name to reckon with in Bollywood. His last release with Bhoothnath as actor Amitabh Bachchan’s son earned him rave reviews. with this film, the actor who made his mark as the handsome young man who sent many a heart aflutter with Tum Bin, nine years ago has come a full circle. He modelled for five years, worked for brands like Digjam’s print campaign, Wills cigarettes, Levi’s and Four…

Read More Read More