Software Engineering StringBuilder in Java (java.lang.StringBuilder) StringBuilder is a standard library class in Java which can be used in handling string data and is alternative to String Buffer and String data type.
Software Engineering Design Graph using OOP concepts in Java You are going to learn to design and implement the graph data structure using OOP (Object Oriented Programming) Concepts. We will implement in Java but the ideas are applicable in any language.
Algorithms Applications of Hash Map HashMap in java.util package implements the Map interface in java collection based on Hashtable. There are three main applications of Hash Map: Priority Queues, Dijkstra's Algorithm and Topological Sort.
Software Engineering Scope of Variables in Java Programming Scope of a variable in Java defines how a specific variable is accessible within the program or across classes. It is defined by the use of private, protected and public.
Software Engineering Chrome Dinosaur (T-Rex 🦖) game with Processing in Java We have designed and developed the Chrome dinosaur game (T-Rex game) and implemented it in Java using Processing.
Software Engineering String Pool in Java In this article, I have explained the String Pool in Java and how to implement it in Java programming. I have covered basic concepts of this topic. Also, I have explain the diagram.
Software Engineering Regex Expressions in Java Regex Expressions are a sequence of characters which describe a search pattern. It is generally used for 'find', 'find and replace' as well as 'input validation'. This article shall focus on how to write a Regex Expression in Java.
Software Engineering Snake Game in Java (OOP design concepts) In this article, we have explored how to design the classical Snake Game using Object Oriented Programming (OOP) concepts and implement it using Java.
Software Engineering Why String is immutable in Java? In Java, Strings are immutable which means that the existing String objects can't be changed i.e we can't modify the existing String objects or we can't change the internal state of the String objects.
Software Engineering Control Statements in Java Java has three sets of control statement that might be utilized to change the progression of execution of a program. The first set of statements is called selection statements followed by iteration statements and jump statements.
Software Engineering Command Pattern in Java Command pattern is a behavioral-based design pattern that encapsulates a request/action in an object without knowing the internal operations. We have explored it in depth in Java.
Software Engineering Covariant Return Type in Java Covariant return type in an Object oriented programming language means that the return type of any method can be replaced by a narrower type when it is overridden in the subclass or child class. We have explored it in Java in depth.
Software Engineering Multiple Inheritance in Java (using Interface) Java is an Object Oriented Programming language and supports the feature of inheritance. We cannot have Multiple Inheritance in Java directly due to Diamond Problem but it can be implemented using Interfaces.
Software Engineering Reducing Time limit of code in Java In this article, we have explored how to make a Java code execute faster by handling Input and Output better. The ways we presented are Scanner class, BufferedReader class, User-defined FastReader Class and Reader Class.
Software Engineering String Class (java.lang.String) in Java The java.lang.String class provides a lot of methods to work on string. By the help of these methods, we can perform operations on string such as trimming, concatenating, converting, comparing, replacing strings etc. We have explored it in detail.
Software Engineering How is 'this' reference in Java used? The 'this' keyword in Java is a reference ( which means it manages some relation ) to the current object where it is called. We have presented 6 usage of this keyword which includes referring to current class instance variable and much more.
Software Engineering Singleton Design Pattern in Java In this article, we have explored Singleton design pattern in Java in depth and demonstrated several approaches each with its own advantages and shortcoming. We have explored related concepts like early and late initialization as well.
Software Engineering Handling Exceptions in Java The three main elements of an exception handler in Java are: try, catch and finally block. We have explored these in depth with examples and questions related to handling exceptions in Java.
Software Engineering Super keyword Reference in Java Super keyword, in Java, is used to call the Constructor of the Parent Class. It is required when we need to pass some arguments to Parent Class and complete object instantiation.
Software Engineering Introduction to Abstract Window Toolkit (AWT) in Java in this article, we have explored the basics of Abstract Window Toolkit (AWT) in Java which is used for creating Windows based Graphical User Interface. We demonstrated it by implementing a form UI using AWT in Java.
Software Engineering 2D Arrays in Java In this article, we have focused on 2D array in Java which is a variant of the usual 1D array by introducing a new dimension. We have demonstrated different operations with 2D arrays.
Software Engineering 2D Array List in Java An Array List is a dynamic version of array and is supported in Java's collection library. In this article, we have focused on 2D array list in Java along with different methods applicable on it like indexOf.
Software Engineering Difference between public, private, protected and default in Java In the article, we have covered the differences between various types of access specifiers like public, private, protected and default in Java in detail.
Software Engineering Types of Exceptions in Java In this article, we have explored the different types of exceptions in Java. The main types are checked and unchecked exceptions. By definition, the types are build-in exceptions and user defined exceptions.
Software Engineering Check if Strings are equal in Java In this article, we have explored how to find if two strings are equal in Java. There are three ways to check if two strings in Java are equal by == operator, equals() method and compareTo() method.