Archive | CoreJava
Final Keyword in java
Final
Final is keyword in java
Final With Variable
Final Variable can be declared either block level or instance level
Final Variable can be initialized only once. Re-initialization causes a compile time error
Final Method
Final Methods behaves like constants these methods are not allowed to override in child classes
Final Methods won’t participate with abstract,private Keywords
Final Class
Final Class behaves like constant
Final Class can’t act as a base class in inheritace
Difference between String/String Buffer/String Builder
String
Immutable Object
It contains non-synchronized methods
String Buffer
Mutable Object
It contains synchronized methods
String Builder(from 1.5)
Mutable Object
It contains non-synchronized methods
jdbc
step 1: Get the Connection object.
step 2: Get the Statement object.
step 3: Bind the parameters to SQL query.
step 4: Execute the SQL query.
step 5: Process the result.
step 6: Close the connections and take care of exceptions.
(more…)
Yep.... I couldn't have said it better myself......
Yep.... I couldn't have said it better myself......
Yahoo results... While searching Yahoo I found this page in the results and I didn't think
Nice Focus.... I really like the direction you've decided to take this blog....