• Core Java
    • Core Java
    • Java 8 Certification
    • Interview Q/A
  • Spring Boot
  • Spring
    • Spring Core
    • Spring AOP
    • Spring MVC
    • Spring Security
    • Microservices
    • Spring 4
    • Spring 5
    • Spring Batch
    • Spring Mobile
    • Spring HATEOAS
  • Hibernate
    • Hibernate Search
  • Tutorials
    • Design Patterns
    • Web Services
      • WS Interview Questions
      • JAX-WS (SOAP)
      • JAX-RS (REST)
      • WSDL
      • SOAP
      • Cloud Computing
    • Struts 2 Tutorial
    • J2EE Tutorial
      • Servlet Tutorial
      • JSP Tutorial
      • JSTL Tutorial
      • JDBC Tutorial
      • JAX B Tutorial
      • Java Mail API
    • Hadoop Tutorial
    • AJAX Tutorial
    • Build Tools
      • Maven
      • Gradle
      • ANT
    • Mongo DB
    • Thymeleaf
    • Git
    • Linux
  • Interview Q/A
    • Spring Interview
    • AOP Interview
    • MVC Interview
    • Spring Boot Interview
    • Microservices Interview
    • Spring Security Interview
    • Web Service Interview
  • Training
    • Who I Am
    • Privacy Policy

Dinesh on Java

March 21, 2013
16 Comments

Spring Tutorial – Learn Spring Framework step by step

Spring Tutorial provides basic and advanced concepts of Spring Framework. Our Spring Tutorial is designed for beginners and professionals both. In this spring tutorial, you will learn the spring framework with examples and simple steps, …
Spring Core Spring Framework
March 21, 2013
No Comments

Java – String lastIndexOf() Method

Description: This method has following variants: int lastIndexOf(int ch): Returns the index within this string of the last occurrence of the specified character or -1 if the character does not occur. public int lastIndexOf(int ch, …
String in Java Tutorial
March 21, 2013
No Comments

Java – String intern() Method

Description: This method returns a canonical representation for the string object. It follows that for any two strings s and t, s.intern() == t.intern() is true if and only if s.equals(t) is true. Syntax: Here …
String in Java Tutorial
March 21, 2013
No Comments

Java – String indexOf() Method

Description: This method has following different variants: public int indexOf(int ch): Returns the index within this string of the first occurrence of the specified character or -1 if the character does not occur. public int …
String in Java Tutorial
March 21, 2013
No Comments

Java – String hashCode() Method

Description: This method returns a hash code for this string. The hash code for a String object is computed as: s*31^(n-1) + s*31^(n-2) + … + s Using int arithmetic, where s is the ith …
String in Java Tutorial
March 21, 2013
No Comments

Java – String getChars() Method

Description: This method copies characters from this string into the destination character array. Syntax: Here is the syntax of this method: public void getChars(int srcBegin, int srcEnd, char dst, int dstBegin) Parameters: Here is the …
String in Java Tutorial
March 21, 2013
No Comments

Java – String getBytes() Method

Description: This method has following two forms: getBytes(String charsetName): Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array. getBytes(): Encodes this String into a …
String in Java Tutorial
  • Previous
  • Next
Learn various design patterns and best practices and use them to solve common design problems.
Spring-5-Design-Pattern
Learn Spring Boot 2.0 and Spring Cloud Application Microservices Architecture to solve common cloud native problems.
Spring-5-Design-Pattern
Designing Applications with Spring Boot 2.2 and React JS: Let us full stack development with Spring Boot and React JS.
Designing Applications with Spring Boot 2.2 and React JS
Hands-On Microservices - Monitoring and Testing: A performance engineer's guide to the continuous testing and monitoring of microservices.
Dinesh on Java Copyright © 2026.
  • Core Java
    • Core Java
    • Java 8 Certification
    • Interview Q/A
  • Spring Boot
  • Spring
    • Spring Core
    • Spring AOP
    • Spring MVC
    • Spring Security
    • Microservices
    • Spring 4
    • Spring 5
    • Spring Batch
    • Spring Mobile
    • Spring HATEOAS
  • Hibernate
    • Hibernate Search
  • Tutorials
    • Design Patterns
    • Web Services
      • WS Interview Questions
      • JAX-WS (SOAP)
      • JAX-RS (REST)
      • WSDL
      • SOAP
      • Cloud Computing
    • Struts 2 Tutorial
    • J2EE Tutorial
      • Servlet Tutorial
      • JSP Tutorial
      • JSTL Tutorial
      • JDBC Tutorial
      • JAX B Tutorial
      • Java Mail API
    • Hadoop Tutorial
    • AJAX Tutorial
    • Build Tools
      • Maven
      • Gradle
      • ANT
    • Mongo DB
    • Thymeleaf
    • Git
    • Linux
  • Interview Q/A
    • Spring Interview
    • AOP Interview
    • MVC Interview
    • Spring Boot Interview
    • Microservices Interview
    • Spring Security Interview
    • Web Service Interview
  • Training
    • Who I Am
    • Privacy Policy