×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • RANDOM
  • One Liner

Java

Java is a powerful and widely used programming language powering several development servers. It brought in a revolution by its feature of being platform independent which drove its wide adoption

Software Engineering

Different ways to handle Input and Output in Java

Java handles input and output through streams and there are multiple input and output streams specialized for different use cases like BufferedOutputStream and much more which we have explored in depth in this article at OpenGenus.

ADARSH SINGH
Software Engineering

Compare String in Java using ==, equals() and equalIgnoreCase()

In Java, we can compare String using ==, equals() and equalIgnoreCase() and each has different results. We have explained it in detail in this article.

Vishal Singh
Software Engineering

Using Final and Abstract in Java

In the context of Java Inheritance, final and abstract are two important modifiers on deciding whether a class can take part in an inheritance relationship or not.

Navya Praniyath
Software Engineering

Working with Zip File System in Java

In this article, we will work with ZIP file system in Java and see how we can move or copy files to ZIP, delete files from ZIP and rename a file in ZIP.

Nilesh
Software Engineering

Method Reference in Java

Method reference introduced in Java 8 release along with lambda expression as a mechanism to further shorten the lambda expressions containing a method call.

Navya Praniyath
Software Engineering

Introduction to Lambda Expression in Java

Lambda Expression is one of the newest features introduced in Java 8 release. It is an expression but in the form of an anonymous function definition.

Navya Praniyath
Software Engineering

Java Time Package

This article brings a brief introduction to some classes available by the Date/Time Java API, with samples to the main characteristics of each one of them.

Gabriel Lechenco Gabriel Lechenco
Software Engineering

Basics of Reflection in Java

In Java, Reflection is a powerful and advanced feature that enables the programmers to inspect or modify the classes, interfaces, and methods of a program running on Java Virtual Machine.

Navya Praniyath
Software Engineering

Types of References in Java

In this article, we explore the types of references in Java which includes strong reference, weak reference, soft reference and phantom reference.

Gabriel Lechenco Gabriel Lechenco
Software Engineering

Learn about Interface in Java in depth

In Java, the interface is a mechanism, using which programmers can connect different software components and make them interact with each other.

Navya Praniyath
Software Engineering

SonarQube for Code Coverage Analysis on Java project using Maven

In this article, we will learn to use SonarQube to analyze the code quality of existing projects and understand the different terms involved like code smell, code coverage and many others.

Nishkarsh Raj Nishkarsh Raj
Software Engineering

Understand Package in Java

Java package corresponds to the file system directory managing different code levels. In this post, we have explored packages in depth.

Navya Praniyath
Software Engineering

Find the size of an object in Java

In Java, it is possible to get the size of an object using its instrumentation package using its premain mechanism and getObjectSize() function

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Basic Full Stack Calculator Project using DevOps tools

In this article, we will develop a basic calculator in Java using DevOps tools like Apache Maven as a build tool, GitHub for source code management, Jenkins for Continuous integration and deployment and Sonatype Nexus for Artifact repository management.

Nishkarsh Raj Nishkarsh Raj
Software Engineering

How Java allocates memory to objects?

In Java, all objects have memory located in the heap space where Java's garbage collection constantly remove unused objects to make application memory efficient

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Java does not support goto

In Java, goto is a reserved word but it has not implemented in Java. Hence, we do not have a same goto keyword/ feature as in other languages like C and C++

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

continue statement in Java

continue statement is a program flow control statement in Java. It is used to skip the current loop iteration and switch to the next loop iteration.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Extend Java's type system with Generic Classes

Generics are a Java paradigm which extends the language's type system, allowing the development of less redundant code with an unnecessary amount of casting

Gabriel Lechenco Gabriel Lechenco
Software Engineering

Java does not support Multiple and Multipath inheritance

In this article, we will look at the limitation set by Java on inheritance and how it cannot support Multiple and Multipath inheritance.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Different types of Inheritance in Java

In short, Java does not support inheriting multiple classes and hence, does not support multiple and multipath inheritance. Java supports single, hybrid, hierarchical and multilevel inheritance.

Janvi Talreja
Software Engineering

Using wrapper classes in Java

A Wrapper class is a class whose object contains a primitive data types. We can think this as a primitive data type with an additional layer which enables it is get benefits of a custom user defined objects in Java.

Parth Maniyar Parth Maniyar
Software Engineering

Learn to use Queue in Java Collections Framework

In this article, we will take a look at how to use the Queue class in Java Collections library. This is useful as one can directly use queue without natively implementing it

Chaitanyasuma Jain Chaitanyasuma Jain
Software Engineering

Building a basic Java Application using Apache Maven (Command Line)

Apache Maven is a Configuration oriented build tool used to build projects whose source code in written in Java. We create a basic Java project using Maven

Nishkarsh Raj Nishkarsh Raj
Software Engineering

Working with Set in Java like a master

Set is a data structure that is used as a collection of objects. Java supports it through its Java Collection library.

Akshay Gopani Akshay Gopani
Software Engineering

Write Custom/ User-defined exceptions in Java

Custom Exceptions: These exceptions are not defined in Java librairies, but can be defined by us to handle customized error situations. Example: Suppose, our banking transaction program should raise exception for debit from an account with zero balance

Biswajit Roy Biswajit Roy
OpenGenus IQ © 2025 All rights reserved â„¢
Contact - Email: team@opengenus.org
Primary Address: JR Shinjuku Miraina Tower, Tokyo, Shinjuku 160-0022, JP
Office #2: Commercial Complex D4, Delhi, Delhi 110017, IN
Top Posts LinkedIn Twitter
Android App
Apply for Internship