Wednesday, April 2, 2025

How to find if JVM is 32 or 64 bit from Java program? Example

You can find JVM bit sizes like 32 bit or 64 bit by using either running java command from the command prompt or by using System.getProperty() from Java program. The question is why do you want to know hardware or platform configuration while writing Java code which is supposed to write once and read anywhere(32 bit, 64 bit, etc)? Yes we don't really need to know whether JVM is 32 bit or 64 bit more often but there are many situations when this matters

Java Best Practices for Method Overloading? Examples

You need to be careful while overloading a method in Java, especially after the introduction of autoboxing in Java 5. Poorly overloaded method not only adds confusion among developers who use that but also they are error-prone and leaves your program at compiler's mercy to select proper method. One of the best examples of a poorly overloaded method is the removal method of ArrayList. There are two versions of remove, first, one which takes an Object as argument i.e. remove(Object element), and the second one, which takes an index as argument i.e. remove(int index).

How to take array input from command line in Java ? Scanner Example

There is no direct way to take array input in Java using Scanner or any other utility, but it's pretty easy to achieve the same by using standard Scanner methods and asking some questions to the user. For example, if you want to take a one-dimensional array of String as input then you can first ask the user about the length of the array and then you can use a for loop to retrieve that many elements from the user and store them in an array. You can use the next() to take a String input from the user. Similarly, if you need to take an integer array or double array, you can use the nextInt() or nextDouble() method of the Scanner class.

Top 10 FIX Message Interview Questions Answers for Beginners

FIX (financial information exchange) protocol is the global protocol used for Electronic trading of different asset classes e.g Equity, Fixed Income FX (foreign exchange) , Derivatives Futures and Options and its knowledge is essential to understand Electronic trading and FIX messages. I have listed some of the very common but informative questions asked in FIX protocol interview question, this list is by no means complete and only contains questions on top of my mind, I would encourage reader to post any question they have been asked and I will include on this list.

How to view FIX Messages in a Readable format? Free Online FIX Message Viewer Tool

It's been a long time, I wrote anything related to FIX protocol, my last article was about FIX protocol dictionaries, also known as Fixionnary, one of the most important tools of the trade for Java developers and support personnel working in FIX. Today, I am going to share another useful tool called FIX Log Viewer, which allows you to view FIX engine logs in a much more readable format.

How to use String.codepoint() method in Java? Example Tutorial

CodePoint method in String is used to get Unicode code point value at index or before the index.  In String class we have a lot of utility methods for dealing with String like Split, replace, and SubString method but here I am discussing a relatively lesser-known method codePointAt(), codePointCount(), and codePointBefore(), but before going deep about this method lets first understand what is of the code point, what exactly CodePoint method does and how to use CodePointAt, CodePointBefore methods using java code example.

Codecademy Learn Java Review - A Free Java Course to Learn Coding Online

Hello guys, you may not know but Codecademy has a free Java course that is perfect for beginners, almost 2.3 million students have already registered. Does it say anything about the popularity of Java? Given Java provides a really good prospect of getting a job and there is more than one reason to learn Java, I am not surprised by the number of students registered. Codecademy has always been a superb source to learn new programming languages or technology from the start. I first started using Codecademy for learning JavaScript using their free JavaScript course and then I used it a couple of months back to improve my Python and Linux command skills.

Top 8 Python Libraries for Data Science and Machine Learning - Best of Lot

Hello guys, today I am going to talk about something which is not related to Java but a very interesting technology development that is happening around, and you simply can't afford to miss out on this opportunity. Yes, you guessed it right, I am talking about Machine learning, Artificial Intelligence, and Deep Learning. There is a good chance that you might have already heard about them and even started learning them. You may be either from Python camp or learning R programming for the sake of machine learning. When I started my journey of Machine learning and Data Science, I had to first make a choice about choosing the right programming language as both R and Python were doing great.

How to increase length of existing VARCHAR column in SQL Server? Example Tutorial

You can increase the length of a VARCHAR column without losing existing data in SQL Server. All you need to do is execute the following ALTER TABLE statements. Though, you need to specify NULL or NOT NULL constraint explicitly, depending upon your data.

Here is the SQL command you can use to increase the length of a VARCHAR column in SQL Server:

ALTER TABLE Books ALTER COLUMN title VARCHAR (432)

This command increases the length of the title column of the Books table to 432 characters. You can use the same command to increase the length of CHAR, NCHAR, or NVARCHAR columns as well.

Top 10 Computer Programming, Artificial Intelligence, and Sci-Fi Movies for Programmers and Tech geeks

Hello guys, being a computer programmer, I love movies that are based on programmers' life, work, and concept. Thankfully Hollywood is no short of films based on computers, programming, and geeky technical stuff. Another day, I was pretty bored, and when I look back to my DVD collection, I found Inception, Matrix Reloaded, and The Social Network, this all movies are in some way related to computers and technology, which strike me the idea to publish my list of Top 10 Computer programming movies.

How to Crack Spring Professional Develop (2V0-72.22) Exam - Latest Spring Certification for Java Programmers

Ever since VmWare, the company behind the Spring framework made the mandatory Spring training optional (see here), I have received many queries from experienced Java developers who are interested in doing Spring certifications. This move from VmWare has suddenly made the Spring certification affordable for many experienced Java and Spring developers who were interested in Spring certification earlier but couldn't progress further due to expensive mandatory training. Since many of them are now preparing for Spring certifications like Spring Core  or Spring Professional (VMware EDU-1202) via self-study they are increasingly looking for good resources to prepare for the exam. I have received a lot of questions on preparation, books, mock exams, exam structure, passing marks, and useful resources.

Tuesday, April 1, 2025

Top 5 jQuery books for Beginners and Web developers - Best of lot

jQuery is an open-source JavaScript library, which has completely changed the way, client-side web development was done using HTML, CSS, and JavaScript. With the growing popularity of jQuery, it becomes imperative for web developers to learn and take advantage of jQuery, and books are one of the best ways to learn jQuery. In this article, I am going to share your top 5 jQuery books from my personal collection, which I have looked at and researched before purchasing my first book on jQuery, Head First JQuery. Since I like to follow one book at a time, I didn't bother to look into another must-read book, JQuery in Action, until I have finished formerly.

Top 5 Soft Skill and Career Development Books and Courses for Programmers

Most of the software developers, programmers, and coders spend a considerable amount of their time and energy on learning technologies which get obsolete in few years like a new framework or a new programming language but they neglect something more important like soft skills. Unlike technical stuff, soft skills will not only serve you good in your job and career but also in your life and it won't get obsolete as quickly as the new web application development framework you have just learned. Similarly, most of us put a lot of effort to get a job but after that, we don't put much effort to grow on that job, the result is many programmers and software developers stuck in their careers.

Top 5 Books to learn UML (Unified Modeling Language) for Java Developers - Best of Lot, Must Read

The UML stands for Unified Modelling language and it is one of the great tools for Object-oriented design. It allows you to create several diagrams like class diagram, sequence diagram, object diagram, etc, which helps you to understand your system better.  The UML also helps you to convey your thoughts and design to peers and team members before implementation. Since a picture is worth a thousand words, those interactions often help you to find shortcomings and loopholes in your software design very early. That's actually the reason I use UML in our projects. Btw, I didn't know about UML or UML diagrams when I first started Java development.

Top 5 FREE eBooks to Learn jQuery Online or download PDF

Hello guys, Everybody loves free resources, don't you? Well, I do and that's why I am always in search of good free resources like eBooks and training courses. In the last article, I have shared some of the free JavaScript books and this time I am sharing a couple of good free eBooks to learn jQuery. JQuery is one of the most important skills in today's internet world. It is the JavaScript library that has changed the face of websites, they are now more interactive and smooth than ever before. The Internet is also not short of free resources and when it comes to learning jQuery, you will find thousands of articles and tens of eBooks, but not all resources are good. Some of them are not up-to-date and many of them contain incorrect information, hence choosing a good resource is vital.