| Author |
scjp 5.0
|
Dinesh Tharanga
Greenhorn
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? Dinesh  [ 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. Ex: class Bean{ private int a; public void setA(int n){ a=n; } public int getA(){ return a; } }
|
Objective: SCJP 1.5<br /><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html" 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
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
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 7 API documentation
Scala Notes - My blog about Scala
|
 |
Dinesh Tharanga
Greenhorn
Joined: Nov 29, 2006
Posts: 4
|
|
Thanky so much.
|
 |
 |
|
|
subject: scjp 5.0
|
|
|