Objects summarise state and behaviour. Examples; member inconsistent; attributes and features. Variables define a state, such as member functions. Operations/messages/methods/function defines behaviour. Classes as speculations for sets of objects. Class as an object factory; concept of type, primitive data types, composite data types. Variable declarations for both types; the difference between the two types. Objects as instances of a Class.
The need is for methods, syntax, forms and definition of methods—method calling and overloading methods mechanism.
Forms and ways to explain a method, invoking the methods-call by value [with programs] and call by testimonial [only definition with an Example]. Object creation: Invoking the methods concerning using numerous methods with multiple names to implement modular programming systems, using data members and member methods. Actual and formal parameters, declaration of methods, static and non-static, method prototype/signature, Pure and impure method, pass by value [with programs] and pass by reference [only definition with an Example], Returning values from the methods, using numerous methods or more than one method, using the same name (polymorphism meaning overcharge).
Definition, characteristics, types and uses of Constructor types. Default constructor, parameterised constructor, constructor overloading. Difference between constructor and method.
Introduction to wrapper Classes, Class methods, and their usage concerning numeric and character data types. Autoboxing and Unboxing in wrapper Classes.
Class as a composite type is the difference between mixed data type, primitive data type, and Class types. The Class can be considered a new type of data created by the user with its features. The difference between primitive and composite types is dISCussed through Examples. How Classes allow user-defined Classes in applications.
int parseInt(Strings), long parseLong(Strings), float parseFloat(Strings), double parseDouble(Strings), boolean isDigit(charch), booleans, Letter(charch), boolean is LetterOrDigit(charch), boolean isLowerCase(charch), boolean is UpperCase(charch), boolean is Whitespace(charch), char to LowerCase (charch) char to UpperCase(charch)
Access specifiers and their scope and visibility. Access specifiers: private, protected and public. Visibility rules for personal, public and secure access specifiers. Scope of Class variables, instance variables, argument variables, and local variables.
Definition and types of an array, declaration, initialisation and accepting data of single/ double dimensional arrays, accessing the elements of one-dimensional and two-dimensional arrays. Arrays and their uses, sorting techniques for selection sort and bubble sort.
Search techniques for linear and binary search, an array as a composite type(mixed), length statement to find the size of the collection (sorting & searching techniques using single dimensional array only). Declaration, initialisation, accepting data in a double dimensional array, the sum of the elements in diagonal elements, row and column [right and left], A two-dimensional array features in a matrix structure.
Methods of String Class, implementation Class and arrays.
String trim () String to LowerCase() String to UpperCase() 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 methods mentioned earlier, modifying and extracting characters of strings, in-array alphabetical order of the strings [Bubble and Selection sort techniques], searching for a string using linear search technique.