Java Cheat Sheet

 

Java Cheat Sheet

Resource

Online

Download

Related

Basics

Setup

·     Environment Setup

Syntax

·     Basic Syntax

·     Object & Classes

·     Basic Datatypes

·     Variable Types

·     Modifier Types

·     Basic Operators

·     Loop Control

·     Descision Making

·     Methods

·     Exceptions

Number

Number Class

·     Number Class

Number methods

·     xxxValue()

·     compareTo()

·     equals()

·     valueOf()

·     toString()

·     parseInt()

·     abs()

·     ceil()

·     floor()

·     rint()

·     round()

·     min()

·     max()

·     exp()

·     log()

·     pow()

·     sqrt()

·     sin()

·     cos()

·     tan()

·     asin()

·     acos()

·     atan()

·     atan2()

·     toDegrees()

·     toRadians()

·     random()

Character

Character Class

·     Character Class

Character methods

·     isLetter()

·     isDigit()

·     isWhitespace()

·     isUpperCase()

·     isLowerCase()

·     toUpperCase()

·     toLowerCase()

·     toString()

String

String Class

·     String Class

String methods

·     char charAt(int index)

·     int compareTo(Object o)

·     int compareTo(String anotherString)

·     int compareToIgnoreCase(String str)

·     String concat(String str)

·     boolean contentEquals(StringBuffer sb)

·     static String copyValueOf(char[] data)

·     static String copyValueOf(char[] data, int offset, int count)

·     boolean endsWith(String suffix)

·     boolean equals(Object anObject)

·     boolean equalsIgnoreCase(String anotherString)

·     byte getBytes()

·     byte[] getBytes(String charsetName

·     void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)

·     int hashCode()

·     int indexOf(int ch)

·     int indexOf(int ch, int fromIndex)

·     int indexOf(String str)

·     int indexOf(String str, int fromIndex)

·     String intern()

·     int lastIndexOf(int ch)

·     int lastIndexOf(int ch, int fromIndex)

·     int lastIndexOf(String str)

·     int lastIndexOf(String str, int fromIndex)

·     int length()

·     boolean matches(String regex)

·     boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)

·     boolean regionMatches(int toffset, String other, int ooffset, int len)

·     String replace(char oldChar, char newChar)

·     String replaceAll(String regex, String replacement

·     String replaceFirst(String regex, String replacement)

·     String[] split(String regex)

·     String[] split(String regex, int limit)

·     boolean startsWith(String prefix)

·     boolean startsWith(String prefix, int toffset)

·     CharSequence subSequence(int beginIndex, int endIndex)

·     String substring(int beginIndex)

·     String substring(int beginIndex, int endIndex)

·     char[] toCharArray()

·     String toLowerCase()

·     String toLowerCase(Locale locale)

·     String toString()

·     String toUpperCase()

·     String toUpperCase(Locale locale)

·     String trim()

·     static String valueOf(primitive data type x)

Basic Classes

Basic Classes

·     Arrays

·     Date & Time

·     Files and I/O

·     Regular Expressions

·     Exceptions

Data Structures

Data structures

·     Enumeration

·     BitSet

·     Vector

·     Stack

·     Dictionary

·     Hashtable

·     Properties

Collection

·     Collection Interface

·     List Interface

·     Set

·     SortedSet

·     Map

·     Map.Entry

·     SortedMap

·     Enumeration

Advanced

Advanced Topic

 

Object Oriented

Object Oriented Topic

String

String Class

String methods

 

Mithun Kumar

I am Mithun Kumar, a freelance and working software professional. I have around 6 years of experience in software Quality Assurance in Manual and Automation with Various tools and Technology. I am always learning new technologies and find myself up to date with the latest software technologies.

Post a Comment

Thanks! for you valuable comment.

Previous Post Next Post