Java Exam Leave a Comment / Online MCQ Exam / By gccgujarat 1 JAVA 1 / 10 1. What is Truncation is Java?ટ્રંકેશન શું છે જાવા? A) Floating-point value assigned to an integer type B) Integer value assigned to floating type C) Floating-point value assigned to an Floating type D) Integer value assigned to floating type 2 / 10 2. Which of these is necessary to specify at time of array initialization?અરે આરંભના સમયે આમાંથી કયું સ્પષ્ટ કરવું જરૂરી છે? A) Row B) Column C) Both Row and Column D) None of the mentioned 3 / 10 3. Which one of the following is not a Java feature?નીચેનામાંથી કયું જાવા લક્ષણ નથી? A) Object-oriented B) Use of pointers C) Portable D) Dynamic and Extensible 4 / 10 4. Which of these can not be used for a variable name in Java?જાવામાં ચલ નામ માટે આમાંથી કયો ઉપયોગ કરી શકાતો નથી? A) identifier B) keyword C) identifier & keyword D) none of the mentioned 5 / 10 5. An array elements are always stored in ________ memory locations.એરે તત્વો હંમેશા ________ મેમરી સ્થાનોમાં સંગ્રહિત થાય છે. A) Sequential B) Random C) Sequential and Random D) Binary search 6 / 10 6. What is the extension of java code files?જાવા કોડ ફાઈલોનું વિસ્તરણ શું છે? A) .js B) .txt C) .class D) .java 7 / 10 7. Which of these is an incorrect string literal?આમાંથી કઈ ખોટી શબ્દમાળા શાબ્દિક છે? A) “Hello World” B) “Hello\nWorld” C) “\”Hello World\”” D) "Hello world" 8 / 10 8. Which of these is an incorrect Statement?આમાંથી કયું વિધાન ખોટું છે? A) It is necessary to use new operator to initialize an array B) Array can be initialized using comma separated expressions surrounded by curly braces C) Array can be initialized when they are declared D) None of the mentioned 9 / 10 9. Where is an array stored in memory?મેમરીમાં એરે ક્યાં સંગ્રહિત છે? A) heap space B) stack space C) heap space and stack space D) first generation memory 10 / 10 10. Which one of the following is the correct way for calling the JavaScript code?JavaScript કોડને કૉલ કરવા માટે નીચેનામાંથી કયો સાચો માર્ગ છે? A) Preprocessor B) Triggering Event C) RMI D) Function/Method Your score is The average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz