Page 10 - CA_Blue( J )_Class10
P. 10

float parseFloat(String s),
                double parseDouble(String s),
                boolean isDigit(char ch),
                boolean isLetter(char ch),
                boolean isLetterOrDigit(char ch),
                boolean isLowerCase(char ch),
                boolean isUpperCase(char ch),
                boolean isWhitespace(char ch),
                char toLowerCase (char ch)
                char toUpperCase(char ch)
                6. Encapsulation
                Access specifiers and its scope and visibility.
                Access specifiers—private, protected and public. Visibility rules for private, protected and public access specifiers. Scope
                of variables, class variables, instance variables, argument variables, and local variables.
                7. Arrays
                Definition of an array, types of arrays, declaration, initialisation and accepting data of single and double dimensional
                arrays, accessing the elements of single-dimensional and double-dimensional arrays.
                Arrays and their uses, sorting techniques— selection sort and bubble sort; Search techniques— linear search and binary
                search, Array as a composite type, length statement to find the size of the array (sorting and searching techniques using
                single dimensional array only).

                Declaration, initialization, accepting data in a double dimensional array, sum of the elements in a row, column and
                diagonal elements [right and left], display the elements of a two-dimensional array in a matrix format.

                8. String handling
                String class, methods of String class, implementation of String class methods, String array

                The following String class methods are to be covered:
                String trim ()
                String toLowerCase()
                String toUpperCase()
                int length( )
                char charAt (int n)
                int indexOf(char ch)
                int lastIndexOf(char ch)
                String concat(String str)
                boolean equals (String str)
                boolean equalsIgnoreCase(String str)
                int compareTo(String str)
                int compareToIgnoreCase(String str)
                String replace (char oldChar,char newChar)
                String substring (int beginIndex)
                String substring (int beginIndex, int endIndex)
                boolean startsWith(String str)
                boolean endsWith(String str)
                String valueOf(all types)
                Programs based on the above methods, extracting and modifying characters of a string, alphabetical order of the strings
                in an array [Bubble and Selection sort techniques], searching for a string using linear search technique.
   5   6   7   8   9   10   11   12   13   14   15