Skip to main content

Posts

Featured

Java Lecture 8 Strings in Java | Strings methods

  THE ROYAL GROUP OF PAK Java Lecture 8 (Strings in Java) In this Lecture,  discuss strings in java. We're explain Strings in java from basic to advance and get command of java Strings methods   Solution is in the video: A  String  variable contains a collection of characters surrounded by double quotes: Methods: String Length: A String in Java is actually an object, which contain methods that can perform certain operations on strings. For example, the length of a string can be found with the  length()  method: toUpperCase(): Converts whole string into upperCase characters with toUpperCase() method toLowerCase(): Coverts whole String into smallCase characters with toLowerCase() method Finding a Character in a String The  indexOf()  method returns the  index  (the position) of the first occurrence of a specified text in a string (including whitespace): String Concatenation The  +  operator can be used between strings to c...

Latest Posts

Java Lecture 7 (Practice set)

Java lecture 5 Type Casting and Customize IntelliJ IDEA

Java lecture 6 Operators in Java