1. Overview In this article, we will take a look at the comparison of Java Pointers (References ) with C++ Pointers. Java has four types of references which are strong, weak, soft, and phantom references. In C++, you can use references and java pointer. 2. Java Pointers (References) 2.1 Prerequisites Java 8 is required on the Linux, windows or mac ...
Read More »Home » Archives for Bhagvan Kommadi »
Java Packages – How to use them
1. Introduction We look at java packages in this article. If you want to learn java, java packages topic will be a great start. We look at code samples to present how to use the java packages. 2. Java Packages Java packages help in avoiding naming collisions, access control, and separation of modules.They help in making usage of interfaces, annotations, ...
Read More »Basic Java Operators
In this post, we feature a comprehensive article about the basic Java Operators. Basic Java operators are Arithmetic, Bitwise, Assignment, Relational, Logical, Ternary, Unary, Shift, and Equality Operators. Table Of Contents 1. Overview 2. Basic Java Operators 2.1. Prerequisites 2.2. Download 2.3. Setup 2.4. IDE 2.5. Arithmetic Operators 2.6. Bitwise Operators 2.7. Assignment Operators 2.8. Relational Operators 2.9. Logical Operators ...
Read More »Java Snake Game Example
1. Introduction In this post, we will develop and design a Snake Game with Eclipse using Java and Java Swing. Eclipse setup is also included in this article. 2. Java Snake Game Example The snake game was created back in 1970. In 1980, a new version of the snake game evolved. In the 1990s, Nokia had this version of the ...
Read More »Java Cheat Sheet
In this post, you will find an easy syntax cheat sheet for Java programming. We will see the Java features and the API classes of Java in detail. 1. Overview We will look at the features of Java and its basic syntax. Java is used for developing software and executing the code. Java code is converted into bytecode after compilation. ...
Read More »Java vs C++: The Most Important Differences
In this post, we feature a comprehensive article about Java vs C++ and their most important differences. Java and C++ are the object-oriented programming languages. C++ is platform dependent and Java is platform independent language. In this tutorial, we see the features of Java and C++ to see the differences. Table Of Contents 1. Overview 2. Java vs C++ 2.1. ...
Read More »Android App Development: Kotlin vs Java
In this post, we feature a comprehensive article about Android App Development: Kotlin vs Java. 1. Overview In this post, we look at how to develop Android Apps with Android Studio using Kotlin and Java. Eclipse setup for Android is also included in this article. Kotlin vs Java analysis is explained with the pros and cons of each programming language. ...
Read More »Grails Spring Security Tutorial
There are many security features in Spring Security such as authentication, authorization, instance-based control, and others. Grails developers use Spring security to secure the application. Table Of Contents 1. Overview 2. Grails Spring Security 2.1. Prerequisites 2.2. Download 2.3. Setup 2.4. Running Gradle 2.5. Running Grails 2.6. HelloWorld in Grails 2.7. Testing Grails Application 2.8. Grails IDE Integration 2.9. Building ...
Read More »Java String vs StringBuffer vs StringBuilder Example
1. Introduction In this post, we feature a comprehensive article on Java String vs StringBuffer vs StringBuilder. In an in-depth analysis we will feature how to create Strings and modify string objects using String class, StringBuffer class and StringBuilder class. 2. Java String vs StringBuffer vs StringBuilder 2.1 Prerequisites Java 7 or 8 is required on the linux, windows or ...
Read More »IntelliJ vs Eclipse: Complete IDE Comparison
In this post, we feature the complete IDE Comparison on IntelliJ vs Eclipse. IntelliJ and Eclipse are the integrated development environment tools. IntelliJ Idea has an integrated development environment with different features for faster and efficient coding. Eclipse has a workspace and extensible framework for plugins to customize the development environment. In this tutorial, we see the features of the ...
Read More »