PrepareInterview Logo
Job Seeker Login | Employer Login
About Us | Contact Us | Site Map | Advertise

Fresher Zone

 FRESHER BASICS
 GOLDEN RULES
 FRESHER JOBS
 4 STEPS FOR INTERVIEW
 FRESHER DOWNLOADS
 RESUME WRITING

Job Categories

 IT SOFTWARE JOBS
 BPO/CALL CENTER JOBS
 GENERAL JOBS
 GOVERNMENT JOBS
 LATEST IT NEWS
 VOIP OPPORTUNITY

Off-Campus & Job Fairs

Fresher Off-Campus
TCS Fresher Off-Campus

Freshers 2012

Mega Job Fest 2012
Top Links with more Hits
 Interview DOs & DON'Ts
 Types of interviews
 Top BPO Interview Tips
 Job Interview Questions
 49 Interview Qns & Ans
 Precautions to Take
 Dress to Wear
 Animation Industry
 Voice Acting
 6 Top Job Search Tips
 Questions to Ask Employers
 HR Interviews
 Cover Letter
 Salary Negotiations
 Thankyou Letters
 
Top Interview Questions
 Java Questions (25)
 SAP Questions(20)
 C++
 OOPS
 ASP.NET (50)
 Java FAQ (45)
 PHP Interview(54)
 Oracle (50)
 Java-J2EE Interview Qns
 Mainframe Questions
 ASP.NET Tips(41)
 Java Top Questions(25)
 Software Testing (40)
 Dot Net
 Common Java FAQ(25)
 Networking (64)
 General Aptitude
 Java Interview FAQ (25)
 Vocabulary
Get Best Trainings

Success Stories

"A Very Useful site where i got many tips on resume preparation and even searching for jobs. This is an overall package. Nice Work and a hearty thanks for the team of this site."
- adarsh2kumar@gmail.com
 
"Synonyms section was good. Selective number of synonyms helped me a lot to get placed in Wipro. Thanks prepare interview."
- sennthilece@gmail.com
 
"this is very useful. thanks a lot"
- mdevadas26@gmail.com
 
"Prepare interview website is very useful job website."
- senthilta@gmail.com
 
"Nice. Interview details and aptitude sessions are very informative. thanks prepareinterview.com"
- dhoufik.aug23@gmail.com
 
"This is the exact Web Site i was looking for. Thank You so much."
- nits2903@gmail.com
 
"Feed back, interview questions all are very good"
- aketisubbu@gmail.com
 
FREE SMS Job Alert
 
 
Java Frequently Asked Questions
 
Get WALK-IN SMS Alert On Your MOBILE Or Send SMS - 'ON Walk-InJobs' to 9870807070
If u r registered with DND, Just SMS 'START  6' to 1909 to continue receiving Job Alerts.
 
What is interface and its use?- Interface is similar to a class which may contain method’s signature only but not bodies and it is a formal set of method and constant declarations that must be defined by the class that implements it. Interfaces are useful for: a)Declaring methods that one or more classes are expected to implement b)Capturing similarities between unrelated classes without forcing a class relationship. c)Determining an object’s programming interface without revealing the actual body of the class.
 
What is an abstract class?- An abstract class is a class designed with implementation gaps for subclasses to fill in and is deliberately incomplete.
 
What is a cloneable interface and how many methods does it contain?- It is not having any method because it is a TAGGED or MARKER interface.
 
Can you have an inner class inside a method and what variables can you access?- Yes, we can have an inner class inside a method and final variables can be accessed.
 
What is multithreading and what are the methods for inter-thread communication and what is the class in which these methods are defined?- Multithreading is the mechanism in which more than one thread run independent of each other within the process. wait (), notify () and notifyAll() methods can be used for inter-thread communication and these methods are in Object class. wait() : When a thread executes a call to wait() method, it surrenders the object lock and enters into a waiting state. notify() or notifyAll() : To remove a thread from the waiting state, some other thread must make a call to notify() or notifyAll() method on the same object.
www.prepareinterview.com
FRESHER OFF-CAMPUS & MEGA JOB FAIRS - 2011
Fresher MEGA Job Fair
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.
 
What are the states associated in the thread?- Thread contains ready, running, waiting and dead states.
 
What is synchronization?- Synchronization is the mechanism that ensures that only one thread is accessed the resources at a time.
 
When you will synchronize a piece of your code?- When you expect your code will be accessed by different threads and these threads may change a particular data causing data corruption.
 
What is deadlock?- When two threads are waiting each other and can’t precede the program is said to be deadlock.
 
What is daemon thread and which method is used to create the daemon thread?- Daemon thread is a low priority thread which runs intermittently in the back ground doing the garbage collection operation for the java runtime system. setDaemon method is used to create a daemon thread.
 
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.
 
What is an applet?- Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser.
 
How does applet recognize the height and width?- Using getParameters() method.
 
When do you use codebase in applet?- When the applet class file is not in the same directory, codebase is used.
 
What is the lifecycle of an applet?- init() method - Can be called when an applet is first loaded start() method - Can be called each time an applet is started. paint() method - Can be called when the applet is minimized or maximized. stop() method - Can be used when the browser moves off the applet’s page. destroy() method - Can be called when the browser is finished with the applet.
 
How do you set security in applets?- using setSecurityManager() method
 
What is an event and what are the models available for event handling?- An event is an event object that describes a state of change in a source. In other words, event occurs when an action is generated, like pressing button, clicking mouse, selecting a list, etc. There are two types of models for handling events and they are: a) event-inheritance model and b) event-delegation model
 
What are the advantages of the model over the event-inheritance model?- The event-delegation model has two advantages over the event-inheritance model. They are: a)It enables event handling by objects other than the ones that generate the events. This allows a clean separation between a component’s design and its use. b)It performs much better in applications where many events are generated. This performance improvement is due to the fact that the event-delegation model does not have to be repeatedly process unhandled events as is the case of the event-inheritance.
 
What is source and listener?- source : A source is an object that generates an event. This occurs when the internal state of that object changes in some way. listener : A listener is an object that is notified when an event occurs. It has two major requirements. First, it must have been registered with one or more sources to receive notifications about specific types of events. Second, it must implement methods to receive and process these notifications.
 
What is adapter class?- An adapter class provides an empty implementation of all methods in an event listener interface. Adapter classes are useful when you want to receive and process only some of the events that are handled by a particular event listener interface. You can define a new class to act listener by extending one of the adapter classes and implementing only those events in which you are interested. For example, the MouseMotionAdapter class has two methods, mouseDragged()and mouseMoved(). The signatures of these empty are exactly as defined in the MouseMotionListener interface. If you are interested in only mouse drag events, then you could simply extend MouseMotionAdapter and implement mouseDragged() .
 
What is meant by controls and what are different types of controls in AWT?- Controls are components that allow a user to interact with your application and the AWT supports the following types of controls: Labels, Push Buttons, Check Boxes, Choice Lists, Lists, Scrollbars, Text Components. These controls are subclasses of Component.
 
What is a layout manager and what are different types of layout managers available in java AWT?- A layout manager is an object that is used to organize components in a container. The different layouts are available are FlowLayout, BorderLayout, CardLayout, GridLayout and GridBagLayout.
 
How are the elements of different layouts organized?- FlowLayout: The elements of a FlowLayout are organized in a top to bottom, left to right fashion. BorderLayout: The elements of a BorderLayout are organized at the borders (North, South, East and West) and the center of a container. CardLayout: The elements of a CardLayout are stacked, on top of the other, like a deck of cards. GridLayout: The elements of a GridLayout are of equal size and are laid out using the square of a grid. GridBagLayout: The elements of a GridBagLayout are organized according to a grid. However, the elements are of different size and may occupy more than one row or column of the grid. In addition, the rows and columns may have different sizes.
 
Which containers use a Border layout as their default layout?- Window, Frame and Dialog classes use a BorderLayout as their layout.
 
Search & Find Your Own Job here.. its Fast & Specific
1. Enter the search keywords (eg. fresher jobs hyderabad) in the below box
2. Click the "Search" button
3. You can see the search results and apply.
(e.g) walkin + .net + pune              (e.g) java + freshers + chennai

Can you help PrepareInterview.com?

Just post our jobs in your Facebook, Twitter or Orkut account.

(e.g.)"Freshers Off-Campus at TechMahindra for Graduates: 2009/2010 Passout - Visit http://www.prepareinterview.com for more info."

Send email to info@prepareinterview.com once you posted with your phone number. Rewards are waiting for you.

Help Us
Click here for More Java Interview Questions
 
GET JOB ALERT -FREE!!
Tagged Twitter Facebook Linked In Blogger Free SMS Google Group ibibo

Jobs by Location

Ahmedabad Bangalore
Chennai Hyderabad
Delhi/NCR Mumbai
Pune Noida
Gurgoan Kerala
Kolkata Other Location

Jobs by Education

BSc/BCA/BA BCom/MCom
MBA/MCM.. BE/BTech/MCA
ME/MTech/MSc Any Graduate
Diploma/ITI Others
Live Interview-Example
Group Discussion-Example
Google Groups
Subscribe for Jobs
Email:
Visit this group
Bookmark and Share

Our Partners & Links

How to avoid interview tension?
How to satisfy your partner?
Advertise
Freshers Walkin Jobs
BPO Jobs
Freshers Jobs
Pune Online Jobs
Hyderabad Online Jobs
Usefull Links


Copyright © 2008 PrepareInterview Inc.  Disclaimer