Which character function can be used to return a specified portion of a character string?
INSTR
SUBSTRING
SUBSTR
POS
SAP Web Dispatcher http/https ports can be chosen freely.
True
False
No more than 16 server cluster elements can be created on one SAP Java instance.
You can see the instance number from the directory, where the SAP AS Java is installed. Under /usr/sap/, there is a directory whose name contains the instance name including the instance number, for example, JC40 (where 40 is the instance number).
a. arr.length
b. arr.length - 1
c. arr.size
d. arr.size - 1
e. arr.length()
a. int arr[][] = new int[5][5];
b. int []arr[] = new int[5][5];
c. int[][] arr = new int[5][5];
d. int[] arr = new int[5][];
e. int[] arr = new int[][5];
a. String str[];
b. String str[5] = new String[5];
c. String str[] = new String[] {"string1", "string2", "string3", "string4", "string5
d. String str[] = {"string1","string2", "string3", "string4", "string5"};
4 Which of the following are the java keywords?
5 What will be printed when you execute the code? class A { A() { System.out.println("Class A Constructor"); } } public class B extends A { B() { System.out.println("Class B Constructor"); } public static void main(String args[]) { B b = new B(); } }
6 What will happen when you compile the following code? 1. package sources; 2. public class firstjava { 3. public static void main(String args[]) 4. { 5. private int a[] ={ 4, 4 }; 6. public int b=1; 7. a[b]=b=0; 8. System.out.println("value of b & a[0] & a[1]" + b + a[0] +a[1]); 9. } 10. }