Open in app

Sign In

Write

Sign In

--help cse
--help cse

18 Followers

Home

About

Pinned

HashSet In Java

Hashset basic example in java Introduction: A HashSet is a collection of items where every item is unique, and it is found in the java.util package: Example Create a HashSet object called cars that will store strings: import java.util.HashSet; // Import the HashSet class HashSet<String> cars = new HashSet<String>(); Add Items The HashSet…

Java

5 min read

Java

5 min read


Jul 3

How To install Updated Version in Ubuntu Linux

Step 1:Clean Cache sudo npm cache clean -f Step 2:Check if it is not present it will get install sudo npm install -g n Step 3:Installe Latest sudo n latest Step 4:Check in new Terminal node — version

1 min read

How To install Updated Version in Ubuntu Linux
How To install Updated Version in Ubuntu Linux

1 min read


Jun 18, 2022

Maximum Product Subarray

Problem Statement: Given an integer array nums, find a contiguous non-empty subarray within the array that has the largest product, and return the product. The test cases are generated so that the answer will fit in a 32-bit integer. A subarray is a contiguous subsequence of the array. TestCase: Example…

Leetcode

1 min read

Leetcode

1 min read


May 30, 2022

Dynamic SQL vs Embedded SQL

SQL: SQL is a structured query language, which is the ultimate computer language, to manipulate and retrieve data stored on a related website. SQL is the standard language for Relational Database Systems. SQL queries can be of two types namely Dynamic SQL and Embedded or Static SQL. What is Dynamic SQL? Dynamic SQL is a…

7 min read

Dynamic SQL vs Embedded SQL
Dynamic SQL vs Embedded SQL

7 min read


Apr 6, 2022

JAVA HASHMAP

Java Hashmap basic programs and important method. INTRODUCTION: In the ArrayList chapter, you learned that Arrays store items as an ordered collection, and you have to access them with an index number (int type). A HashMap however, store items in “key/value” pairs, and you can access them by an index…

Java

4 min read

Java

4 min read


Apr 6, 2022

Linked-list Program

JAVA LINKED LIST-10 basic programs In the previous chapter, you learned about the ArrayList class. The LinkedList class is almost identical to the ArrayList: Program 1:Simple java list program of adding elements. CODE: // Import the LinkedList class import java.util.LinkedList; public class Main { public static void main(String[] args) { …

Java

4 min read

Java

4 min read


Apr 5, 2022

JAVA ARRAYLIST

All in one 10 programs of java arraylist JAVA ARRAYLIST The ArrayList class is a resizable array, which can be found in the java.util package. The difference between a built-in array and an ArrayList in Java, is that the size of an array cannot be modified (if you want to…

Java

3 min read

Java

3 min read


Mar 24, 2022

Java Interface-10 Programs

All details Java through Program JAVA INTERFACE: To declare an interface, use the interface keyword. It is used to provide total abstraction. That means all the methods in an interface are declared with an empty body and are public and all fields are public, static, and final by default. A…

Java

6 min read

Java

6 min read


Mar 24, 2022

Java Inner Example -10 Program

Java Inner Example -10 Program JAVA INNER CLASSES In Java, it is also possible to nest classes (a class within a class). The purpose of nested classes is to group classes that belong together, which makes your code more readable and maintainable. To access the inner class, create an object…

Java

5 min read

Java

5 min read


Mar 22, 2022

Java Packages & API-10 example

Java Packages & API mastery through program Java Packages & API A package in Java is used to group related classes. Think of it as a folder in a file directory. We use packages to avoid name conflicts, and to write a better maintainable code. …

Java

5 min read

Java

5 min read

--help cse

--help cse

18 Followers

Computer Engineer

Following
  • Cassie Kozyrkov

    Cassie Kozyrkov

  • TDS Editors

    TDS Editors

  • Bronwen Scott

    Bronwen Scott

  • Careerflow

    Careerflow

  • Keith McNulty

    Keith McNulty

See all (51)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams