• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scjp 5.0

 
Dinesh Tharanga
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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;
}
}
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAR files: The Java Tutorial - Lesson: Packaging Programs in JAR Files
JavaBeans: The Java Tutorial - Trail: JavaBeans
 
Dinesh Tharanga
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanky so much.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic