↓ Skip to Main Content

TheoryApp

Main Navigation

  • Home
  • Java
Home › Archive for Java

Category: Java

Read Excel XLS Files in Java

By theoryapp Posted on March 20, 2021 Posted in Java Tagged with excel, xls

This tutorial shows how to read Excel .xls files using Java and Apache POI. The Apache POI Project (http://poi.apache.org/) provides Java APIs for manipulating file formats based upon the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document …

Read Excel XLS Files in Java Read more »

Split a String in Java

By theoryapp Posted on March 10, 2021 Posted in Java Tagged with string split

Java String class has the method split() to split a string around matches of a given regular expression. java.lang.String: public String[] split(String regex) Parameters: regex – the delimiting regular expression Returns: the array of strings computed by splitting this string …

Split a String in Java Read more »

Shuffle an Array or a List in Java

By theoryapp Posted on December 11, 2020 Posted in Java Tagged with java collection, random, shuffle

How can we rearrange an array of items in random order? A simple way is to manipulate the array by picking elements randomly. Or we can use Java Collections API. Shuffle an Array Write a loop to go through each …

Shuffle an Array or a List in Java Read more »

Interfaces in Java

By theoryapp Posted on November 19, 2020 Posted in Java Tagged with abstract class, generic type, interface, object-oriented, polymorphism

An interface in Java represents an abstract type; it is a collection of abstract methods and constants. All methods in an interface are abstract, and thus they have only signatures. All variables in an interface are implicitly final and static, …

Interfaces in Java Read more »

Posts navigation

1 2 3 … 11 Next

Recent Posts

  • How to Create a Table using jsPDF
  • How to Choose a Random Element from an Array
  • How to Print a List of Items in Rows and Columns in jsPDF
  • How to Search in Aarrys by Object Property in JavaScript
  • How to Generate PDF File in JavaScript
  • Impagliazzo’s Hardcore Lemma and Computational Hardness
  • Searching and Replacing with grep and sed
  • Turn Off Voice Assistant on Apple Mac
  • A Double Sum of Binomials
  • Chernoff Bound

Categories

  • Algorithm
  • BigData
  • Combinatorics
  • DevTool
  • HowTo
  • Java
  • JavaScript
  • MySQL
  • PHP
  • Probability
  • SQL
  • Theory
  • Uncategorized
  • Web

Tags

abstract class abstract method ArrayList boolean function chernoff bound class context free language CSS derandomization divide and conquer dom endswith FIFO fourier analysis generic type geocoding google maps html inheritance interface java java collection JavaScript lifo loop mysql object-oriented PHP polymorphism probability programming pseudorandom generator random random walk recursion regular expression regular language seo sql startswith store locator string twitter url redirect xml

Archives

  • July 2023
  • May 2023
  • March 2023
  • May 2022
  • February 2022
  • December 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • February 2020
  • January 2020
  • December 2019

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2023 TheoryApp | Powered by Responsive Theme