Top 10 Twitter Trending Topics using JAVA twitter4j API

Hi friends, Today we are going to find out the Top 10 Worldwide Trending Topics on Twitter with the help of twitter4j Java API. The step by step process can be depicted in below picture. It shows the step by step algorithm which you can use in order to show top 10 Worldwide Trending Twitter Topics.Continue reading “Top 10 Twitter Trending Topics using JAVA twitter4j API”

Twitter Sentiment Analysis using OpenNLP JAVA API

Hi, everyone ! Hope everyone is having a great time. In this post, we are going to see the TWITTER SENTIMENT ANALYSIS by using JAVA as a programming language. We are using OPENNLP Maven dependencies for doing this sentiment analysis. Following is that Maven Dependency. As you can see from the above pom.xml file, weContinue reading “Twitter Sentiment Analysis using OpenNLP JAVA API”

Read Word Document using JAVA

Hi guys, Following code will enable us to read Microsoft Word Document file using JAVA API. Following is the pom.xml contents Following is the word file contents   Following is the output of code.   Thanks for having a read. Do comment below for your queries.

NetBeans IDE Installation on Ubuntu 14.04

Download NetBeans IDE through web browser from open new terminal window cd Downloads sudo chmod +x netbeans* ./netbeans* Above command will open a GUI which will guide you to install netbeans step by step.  


We are going to insert the data into mysql table ‘sample’. We will use Java programming language for doing the same.   In case you missed how to connect your database with the JAVA programming language, you should refer this link below.   Once you establish the connection with MySQL database, all you needContinue reading “RECORD INSERTION IN MYSQL TABLE”


MySQL can be connected with the help of JAVA programming language. For this we require a driver which will enable us to create a connection to connect to MySQL database. A connection object is created with the help of getConnection() method of DriverManager class. The standard syntax of this getConncetion() method contains one, two andContinue reading “MYSQL DATABASE CONNECTION THROUGH JAVA”


  The concept that we are going to talk today is about printing i.e. accessing the elements or arguments that we enter on the command line in the runtime. There are plenty of ways to implement this thing. For naïve programmers, we can use the simple editor and then run the program on the commandContinue reading “COMMAND LINE ARGUMENTS”

The difference between float and double

Thank you. We all know float and double as the primitive datatypes of any programming language. But plenty of us still get confused regarding the basic meaning of these datatypes. In technical terms, float is known as the Single precision floating point datatype whereas double is considered to be double precision floating point datatype.  Continue reading “The difference between float and double”