Time left 0:37:38 Which method below counts the number of a sequence of characters? Select one: O getChars() O length() O contains() O size()
Given Java code below. What will be the final output for arr[3][0]? double[][] arr = {{1.2, 9.0, 3.2}, {9.2, 0.5, 1.5, -1.2}, {7.3, 7.9, 4.8} }; Select one: O 7.9 7.3 O Array element not exist 9.2
Time left 0:36:44 Which sentence state the disadvantages of Array? Select one: O There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size Elements are sequentially accessed O Index value of an array can be negative Data structure like queue or stack cannot be implemented
Find a correct statement about enum. Select one: enum Day (SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY) enum Day {SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY} enum Day = {SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY} enum class Day = {SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY} =
What is the connection between public classes and .java file name? Select one: O It is common practice to name a file after one of the public classes in it, but Java does not require it. The file must have at least one public class and none of them can have the same name as the file. The file can have at most one public class; if present, it must have the same name as the file. O None of the mentioned
Time left 0:37:38 Which method below counts the number of a sequence of characters? Select one: O getChars() O length()
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Time left 0:37:38 Which method below counts the number of a sequence of characters? Select one: O getChars() O length()
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!