Saturday, January 15, 2011

What book should I read up on Stock Investment?

As stock investment is quite a new thing to me.
What book should I read up on to know the basics, the functions, common quotes used, the ratios.

Is these any popular book that will teach me all these basics???

ans:
The Intelligent Investor
One Up on Wall Street
The Essays of Warren Buffett
check this site for other books:
http://beginnersinvest.about.com/cs/newinvestors/tp/aatp110101.htm

Is something like this a good idea to invest in?

i recently saw a documentary on the popularity & rapid growth of Facebook. Do you think it's a good idea to invest in something like that, or google?

ans:
yes it is a nice option to invest in facebook once its public... and google is also a equally good option

Where can I get streaming options quotes for free?

I need live options chains, not delayed ones,
thanks guys

ans:
try this site
www.cboe.com

Simple Java Program


class SimpleJavaProgram

{

public static void main(String args[]) //creates main function

{

System.out.println("simple java program"); //to print the required text

} //end of main

} // end of class

How to use resource bundle?


Generally to avoid hard codings in program we use a file called properties file.. This file can contain labels,sql queries,array sizes.. etc.So whenever there is a change in requirement without touching the source code we can change these values… It is also used for internationalization

This is the way to declare a resource bundle:
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle("resources.myApplication");
here resources.myApplication is the property file name

This is the syntax to get a value from that file:
stringName = RESOURCE_BUNDLE.getString("getStringName");

Retrieve Particular Fields from Table


To retrieve details present in some specific fields we have to select those fields from the table..Below example shows how to get a particular column say user_name from a table user_master which contains so many other fields also like user_id, user_age ..etc

eg: SELECT user_name FROM user_master;

here user_name is the column name , user_master is the table_name

Retrieve multiple fields from table


To retrieve details present in some specific fields we have to select those fields from the table..Below example shows how to get particular columns say user_first_name,user_last_name from a table user_master which contains so many other fields also like user_id, user_age ..etc

eg: SELECT user_first_name , user_last_name FROM user_master;

here user_first_name,user_last_name are the column names , user_master is the table_name