Open in app

Sign In

Write

Sign In

Bindu Shrestha
Bindu Shrestha

31 Followers

Home

About

Oct 15, 2022

Top 10 most used git commands

Following is the list of git commands that are used most frequently. git clone- Used to clone or copy existing repository. If you joined a new project today, this is the first command you’re going to use to create a local copy of the target repository. Ex: git clonehttps://github.com/bindushrestha/comparator-sample.git Clone from…

Git

3 min read

Top 10 most used git commands
Top 10 most used git commands
Git

3 min read


Aug 4, 2022

How to resolve CORS error?

If you have been developing REST APIs that are consumed by front end applications, it’s likely that you’ve come across this error, which is annoying for both frontend and backend developers. So let’s start with why we get this error? It’s because browsers don’t allow application from an origin to…

Cors

3 min read

How to resolve CORS error?
How to resolve CORS error?
Cors

3 min read


May 10, 2022

How to sort list of objects using multiple fields?

We can sort list using multiple fields with Comparator. Here we are going to see two ways to do that. Let’s say we have a Student class as below. public class Student { private int rollNum; private String firstName; private String stream; public Student(int rollNum, String firstName, String stream) { …

Comparator

2 min read

Comparator

2 min read


Mar 20, 2022

Streams in Java — Quick Guide with Examples

Java introduced Stream API in Java 8, which is useful to perform operations on collections. Java streams have definitely made processing collections and life easier. But in order to work with streams, it’s important to understand the following: Functional programming Functional Interface Lambda Expression Here I am going to explain…

Java8

4 min read

Java8

4 min read


Jan 28, 2022

Inheritance and Object Casting in Java

Inheritance is an important concept of OOP. It allows inheriting fields and methods using ‘extends’ keyword. With inheritance, we can create a class with basic features and behaviors and create its specialized versions, by creating classes, that inherit this base class. The base class is also called superclass or parent…

Inheritance

3 min read

Inheritance and Object Casting in Java
Inheritance and Object Casting in Java
Inheritance

3 min read


Oct 2, 2021

Exceptions in Java

The term exception is shorthand for the phrase “exceptional event.” Definition: An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s instructions. When an error occurs within a method, the method creates an object and hands it off to…

Exception

4 min read

Exceptions in Java
Exceptions in Java
Exception

4 min read


Sep 18, 2021

Object Creation in Java

Classes and objects are the fundamentals in java. Having a good understanding of how objects are created is essential for object oriented programming. new Operator new is a keyword in java that is used to create new object as the name suggests. What it does is allocate memory for the…

3 min read

Object Creation in Java
Object Creation in Java

3 min read

Bindu Shrestha

Bindu Shrestha

31 Followers
Following
  • Ruby Valappil

    Ruby Valappil

  • Bishwas Bhandari

    Bishwas Bhandari

  • Dsforgood

    Dsforgood

  • Amit Prasad

    Amit Prasad

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech