Right Place For Right PersonTM 
Sponsored Ads
Buy This Website(This website is for Sale)
Home Tutorials Articles Forums Source Code Books Certifications Interviews Questions

Go: 1 2 3 4

R4R --->Java --->> SCJP1.5 Chapter08 --> Sun Java Certification

Page 1

Question:
ArrayList
Post Your View

Answers
Array list is bassically give us a fast interation and fast rndom access.its a growable array .its a type of orderd collection but ot sorted.now its use a new RandomAccess interface—a marker interface.  More --- >>

By:umang
Date:13.03.09

Question:
Cleaning Up Before Garbage Collection—the Finalize() Method
Post Your View

Answers
java provides us to some mechenism for the run some code just before our object is deleted by the garbage collector, whihc methos is use for that. thats name is finalize() method,its maily se for the all classes inherit from class Object.we have a main prob is that we may have gathered by now, we ca  More --- >>

By:umang
Date:14.03.09

Question:
Collections
Post Your View

Answers
Collections is bassically a framework in the java programming language.the Collections Framework in the java.util package is loaded with interfaces and utilities.  More --- >>

By:umang
Date:13.03.09

Question:
Forcing Garbage Collection
Post Your View

Answers
fistly we would like to mentioned that contrary to this section’s title, garbage collection cannot be forced.When java provides some ,ethod that allow us to request that the JVM perform garbage collection, if we are about to perform some time-sensitive operations, we want to probably minimised to th  More --- >>

By:umang
Date:14.03.09

Question:
Garbage Collection
Post Your View

Answers
Grbage Collection is bassicllay a State the behavior that is guaranteed by the system.Its mianly use for the Write code that explicitly makes objects eligible for garbage collection. Recognize the point in a piece of source code at which an object becomes eligible for garbage collection.  More --- >>

By:umang
Date:14.03.09

Question:
HashMap
Post Your View

Answers
Hash map is basscially gives us a unsorted ans unordrd map.when we need to the map and i dnt wanan to the go in the order then hash map is the best way to go .HashMap allows one null key in a collection and multiple null values in a collection.  More --- >>

By:umang
Date:14.03.09

Question:
HashSet
Post Your View

Answers
Its a bassically unsorted , its also unorderd set.It mainy use for inserting the object of hashcode, so the more efficient our hashCode() implementation the better access performance we’ll get.  More --- >>

By:umang
Date:13.03.09

Question:
Hashtable
Post Your View

Answers
Hash Tables i sbassiclaly like a vector .its in the java from prehistorical time.Vector is a synchronized counterpart to the sleeker, more modern ArrayList, Hashtable is the synchronized counterpart to HashMap.Hashtable doesn’t let us have anything that’s null.  More --- >>

By:umang
Date:14.03.09

Question:
How Does the Garbage Collector Work?
Post Your View

Answers
We cant say surly when its work.We know that garbage collector usses a mark and sweep algorithm, When we are seeing about the java implemention its true but in the case of java speciafiacation we cant sure anut the java implemention.We also know that garbage collector uses reference counting;The imp  More --- >>

By:umang
Date:14.03.09

Question:
Implementing an equals() Method
Post Your View

Answers
Now we would like to decide to override equals() in our class. It might look something like this : public class EqualsProg { public static void main (String [] args) { Moof one = new Moof(8); Moof two = new Moof(8); if (one.equals(two)) { System.out.println("one and two are equal"); } } }   More --- >>

By:umang
Date:13.03.09

Question:
Implementing hashCode()
Post Your View

Answers
Now we are discussing about the implementation of he hashcode().hash code () is simply use for the comparisaion. we haev a code for the hashCode(). class HasHash { public int a; HasHash(int xVal) { a = aVal; } public boolean equals(Object o) { HasHash h = (HasHash) o; // Don't try at home wit  More --- >>

By:umang
Date:13.03.09

Question:
Isolating a Reference
Post Your View

Answers
its a diff way for the objects can become eligible for garbage collection even if they still have valid references!.We also know that the islands of isolation.we have a code its very somple example for the call instance .......following here : public class Island { Island a; public static vo  More --- >>

By:umang
Date:14.03.09

Go: 1
2 3 4 Contact Us
Sponsored Ads
Sponsored Ads
Sponsored Ads
Sponsored Ads
Sponsored Ads
Interview Questions And Answers
Struts interview questions and answers (Subjective)
500 Java Objective Questions and Answer
Core Java Objective Questions And Answers
Core Java Subjective Questions And Answers
Core Java Interview Questions And Answers
Core Java Interview Questions and Answers (Subjective)
Core Java Interview Questions and Answers( Objective)
50 Servlet interview questions
155 Java Interview Questions
EJB Interview Questions and Answers(Subjective)
R4R,JSP Interview Questions and Answer(Subjective)
R4R,Java Servlets Interview Questions and Answers(Subjective)
Core Java Subjective ,Objective and Interview Questions And Answers
275 Core java interview questions
Java Objective Questions and Answer
Java Architect Interview Questions
Applet Interview Questions and Answers
Core Java example
Servlet Objective Questions And Answers
Servlet Subjective Questions And Answers
Servlet Interview Questions And Answers
JSP Objective Questions And Answers
JSP Subjective Questions And Answers
JSP Interview Questions And Answers
JDBC Objective Questions And Answers
JDBC Subjective Questions And Answers
JDBC Interview Questions And Answers
JDBC Interview questions and answers
Networking Interview questions and answers
Servlets Interview questions and answers
EJB Objective Questions And Answers
EJB Subjective Questions And Answers
EJB Interview Questions And Answers
Hibernate Objective Questions And Answers
Hibernate Subjective Questions And Answers
Hibernate Interview Questions And Answers
Spring Objective Questions And Answers
Spring Subjective Questions And Answers
Spring Interview Questions And Answers
Struts Objective Questions And Answers
Struts Subjective Questions And Answers
Struts Interview Questions And Answers
Ant Objective Questions And Answers
Ant Subjective Questions And Answers
Ant Interview Questions And Answers
PHP Objective Questions And Answers
PHP Subjective Questions And Answers
PHP Interview Questions And Answers 1
ASP.net Objective Questions And Answers
ASP.net Subjective Questions And Answers
ASP.net Interview Questions And Answers 1
ASP.net interview questions ,ASP.net interview answers,ASP.net interview questions and answers
PHP interview questions ,PHP interview answers,PHP interview questions and answers
Testing Objective Questions And Answers
Testing Subjective Questions And Answers
Testing Interview Questions And Answers
Ajax Tutorials
Ajax Objective Questions And Answers
Ajax Subjective Questions And Answers
Ajax Interview Questions And Answers
Linux Objective Questions And Answers
Linux Subjective Questions And Answers
Unix Subjective Questions And Answers
Unix Interview Questions And Answers
HR interview questions and answers
HR Interview Questions Tips
HR Objective Questions And Answers
HR Subjective Questions And Answers
HR Interview Questions And Answers
Learn C Language with in a day
 C /C++ Questions
C Objective Questions And Answers
C Subjective Questions And Answers
C Interview Questions And Answers
C Objective Interview Questions And Answers(10)
C Subjective Interview Questions And Answers(100) 
C syntax,semantics and simple programming questions(61) 

Linux Interview Questions And Answers
Unix Objective Questions And Answers
C Aptitude Questions(179)
C++ Interview Questions And Answers    
C++ Objective Questions And Answers
C++ Subjective Questions And Answers
C++ Interview Questions And Answers
C,C++ objective Interview Questions and answers
C Interview Questions And Answers( Objective and Subjective)
C Objective Interview Questions And Answers(10)

C Subjective Interview Questions And Answers(100)

C,C++ Interview Questions

35 C++ Interview Questions And Answers(Subjective)

109 C++ Interview Questions

Java Script Interview Question and Answer(1-10).
 Java Script Interview Question and Answer(11-20).
Java Script  Interview Question and Answer(21-30).
Java Script Interview Question and Answer(31-40).
Javascript Objective Questions And Answers
Javascript Subjective Questions And Answers
Javascript Interview Questions And Answers
MFC Interview Questions And Answers(Subjective)

MFC Interview Questions And Answers(Subjective)

ATL Interview Questions And Answers(Subjective)

COM DCOM Interview Questions And Answers(Subjective)

Win32API Interview Questions And Answers(Subjective)

ActiveX Interview Questions And Answers(Subjective)

R4R, VC++ AllOther Interview Questions And Answers(Subjective)

PL/SQL Interview Questions And Answers(Subjective)

152 PL/SQL Interview Questions And Answers(Subjective)

Asp Objective Questions And Answers
Asp Subjective Questions And Answers
Asp Interview Questions And Answers 1

VB Objective Questions And Answers

Contact US:

Your Name:


Your Email:

Message:

Comments:

Give Your Comments:

Your Name:
Your Email ID :
Comments :

Advertiser PRIVACY POLICY ||User PRIVACY POLICY || R4R Group Srvices