4
2012
Core Java Interview Questions Part-3
Hi this is the third part of core java interview questions and further parts will be updated soon……………. CORE JAVA INTERVIEW QUESTIONS PART-3: 51. What is the purpose of finalization? The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected. 52. Which class is the immediate superclass of the MenuComponent class. Object 53. What invokes a thread’s run() method? After a thread [...]
26
2012
Core Java Interview Questions Part-2
This is the second part of CORE JAVA INTERVIEW QUESTIONS AND ANSWERS PART-2 1.what is a transient variable? A transient variable is a variable that may not be serialized. 2.which containers use a border Layout as their default layout? The window, Frame and Dialog classes use a border layout as their default layout. 3.Why do threads block on I/O? Threads block on i/o (that is enters the waiting state) so that other threads may execute [...]
8
2012
Core Java Interview Questions Part-1
Core Java Interview Questions Question: What is transient variable? Answer: Transient variable can’t be serialize. For example if a variable is declared as transient in a Serializable class and the class is written to an ObjectStream, the value of the variable can’t be written to the stream instead when the class is retrieved from the ObjectStream the value of the variable becomes null. Question: Name the containers which uses Border Layout as their default layout? [...]
19
2012
Basic Java Interview Questions
Basic Java interview questions: 1) What is OOPs? Ans: Object oriented programming organizes a program around its data,i.e.,objects and a set of well defined interfaces to that data. An object-oriented program can be characterized as data controlling access to code. 2) What is the difference between Procedural and OOPs? Ans: a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOPs program, unit of program is object, [...]
28
2012
JAVA TUTORIALS
JAVA SLIDES DOWNLOAD LINKS: Hey here are the links for the java slides(Total Tutorials) which will be very helpful to all the java lovers especially to the beginners of java. Here are the links for it. DONT FORGET THE PASSWORD IS : webdagger Free download part-1 Free download part-2 Free download part-3 Free download part-4
27
2012
JAVA INTERVIEW QUESTIONS
Java Interview Questions * Q1. How could Java classes direct program messages to the system console, but error messages, say to a file? A. The class System has a variable out that represents the standard output, and the variable err that represents the standard error device. By default, they both point at the system console. This how the standard output could be re-directed: Stream st = new Stream(new FileOutputStream(“output.txt”)); System.setErr(st); System.setOut(st); * Q2. What’s the [...]
18
2012
JAVA INTERVIEW QUESTIONS
Question 1: What is the difference between an Interface and an Abstract class? Answer:An abstract class can have instance methods that implement a default behavior.An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract. An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract [...]
Tutorials & Interview Questions
E-Books of the month
Recent Comments
- uma on Tally Tutorial Part-1
- Sudheer.Choragudi on IOS Commands
- Sudhakar Singajogi on QTP Tutorial for Beginners Part-2
- webdagger on OSI LAYERS
- kaladhar on OSI LAYERS
- sreekanth on SAP Tutorial Part-5
Who's Online
- 0 Members.
- 3 Guests.

An article by webdagger











A limited time offer only for one month.The Books are Guide to HTML, JavaScript and PHP For Scientists and Engineers & Sams Teach Yourself is a Book in which you can learn the c++ within 24 hours...
