Loading
Browsing articles in "core java"
May
4
2012

Core Java Interview Questions Part-3

core-java

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 [...]

Apr
26
2012

Core Java Interview Questions Part-2

core-java

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 [...]

Apr
8
2012

Core Java Interview Questions Part-1

corejava-150x150

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? [...]

Mar
19
2012

Basic Java Interview Questions

java-image

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, [...]

Feb
28
2012

JAVA TUTORIALS

java

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

Feb
27
2012

JAVA INTERVIEW QUESTIONS

java-image

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 [...]

Feb
18
2012

JAVA INTERVIEW QUESTIONS

java

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 [...]

Pages:12»

Tutorials & Interview Questions

PageRank



E-Books of the month

Guide-to-HTML-JavaScript-and-PHP Sams.Teach.Yourself.C.plus.plus.in.24.Hours.5th.Edition.2011 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...

Enter your Email to Grab free E-Books


didn't receive the e book please contact us at info@downloadsparade.com

Recent Comments

Who's Online

  • 0 Members.
  • 3 Guests.

Stats