File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes scjp 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "scjp 5.0" Watch "scjp 5.0" New topic

scjp 5.0

Dinesh Tharanga

Joined: Nov 29, 2006
Posts: 4
I need some help in understanding the following topics

1)what is JAR file?
2)what is the javabeans?

[ October 11, 2007: Message edited by: Dinesh Tharanga ]
P Ventura
Ranch Hand

Joined: Jan 24, 2007
Posts: 42
Jar is a zip file(but has .jar extension) containing class files and meta-info
beans is a class that has for each variable a getter and setter method.

class Bean{
private int a;
public void setA(int n){
public int getA(){
return a;

Objective: SCJP 1.5<br /><a href="" target="_blank" rel="nofollow">API</a><br /> <blockquote><font size="1" face="Verdana, Arial">code:</font><hr><pre><font size="2"><br />Double n1 = Double.NaN; Double n2 = Double.NaN;<br /> n1.equals(n2) // true even though Double.NaN != Double.NaN<br />-0.0 == +0.0; // true<br />Double n1 = -0.0;Double n2 = +0.0;<br />n1.equals(n2) // false even though -0.0 == +0.0<br /></font></pre><hr></blockquote>
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15091

JAR files: The Java Tutorial - Lesson: Packaging Programs in JAR Files
JavaBeans: The Java Tutorial - Trail: JavaBeans

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Dinesh Tharanga

Joined: Nov 29, 2006
Posts: 4
Thanky so much.
I agree. Here's the link:
subject: scjp 5.0
It's not a secret anymore!