How to Add Database to Eclipse

How to add database to eclipse

How to add database to eclipse? While working in java projects using databases, there are scenarios where you want go back and forth between eclipse and SQL command line. Instead of this, you can add the database(connection profile) to eclipse to view your tables, execute sql queries and so on.

Continue reading

How to Add Objects to an ArrayList

How to add objects to an ArrayList

How to add user defined objects to an ArrayList ? ArrayList is from java.util package. This is like an expandable array. Whenever elements are added, the list will expand and when you remove elements the list will shrink. To add elements to an ArrayList, we have to use void add(Object

Continue reading

java-26

Java7 features – Whats new?

Java7 Features In this blog, let us see few of the features of java7. Use of Strings in switch case Try with resources Automatic Resource Management Binary Literals Diamond Operator 1.Use of Strings in switch case Java has added a language level support for String in switch. Now you can

Continue reading

Java Interview Questions

Java Interview Questions

Java Interview Questions – 50 1.What do you know about Java? Java is a high-level programming language. It is platform independent. The java code runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. Add answers of Q:3 also 2.What are the supported

Continue reading