import fc.java.part2.Book;
public class BasicArrayTest {
public static void main(String[] args) {
// Q. ì¤ì 3ê°ë¥¼ ì ì¥ í ë°°ì´ì ìì±íê³ ê°ì ì ì¥íê³ ì¶ë ¥(기본배ì´)
float[] f={24.5f, 45.6f, 77.65f};
System.out.println(f[0]);
System.out.println(f[1]);
System.out.println(f[2]);
// Q. [ì±
] 3ê¶ì ì ì¥ í [ë°°ì´ì ìì±]íê³ ì±
3ê¶ì ë°ì´í°ë¥¼ ì ì¥íê³ ì¶ë ¥íì¸ì.
Book[] b=new Book[3]; // ê°ì²´ë°°ì´
b[0]=new Book();
b[0].title="ìë°";
b[0].price=30000;
b[0].company="íë¹";
b[0].author="ë°ë§¤ì¼";
b[0].page=500;
b[0].isbn="11889900";
//System.out.println(b[0].title+"\t"+b[0].price+"\t"+b[0].company+"\t"+b[0].author+"\t"+b[0].page+"\t"+b[0].isbn
b[1]=new Book();
b[1].title="ì¤ë¼í´";
b[1].price=30000;
b[1].company="íë¹";
b[1].author="ë°ë§¤ì¼";
b[1].page=500;
b[1].isbn="11889900";
//System.out.println(b[1].title+"\t"+b[1].price+"\t"+b[1].company+"\t"+b[1].author+"\t"+b[1].page+"\t"+b[1].isbn);
b[2]=new Book();
b[2].title="ì¸ê³µì§ë¥";
b[2].price=30000;
b[2].company="íë¹";
b[2].author="ë°ë§¤ì¼";
b[2].page=500;
b[2].isbn="11889900";
//System.out.println(b[2].title+"\t"+b[2].price+"\t"+b[2].company+"\t"+b[2].author+"\t"+b[2].page+"\t"+b[2].isbn);
for(int i=0;i