click below
click below
Normal Size Small Size show me how
S1 - CS0070
| Question | Answer |
|---|---|
| Java language, originally called the ‘___’ | Oak |
| Java language, originally called the ‘Oak’, was developed by ____ ____ at ____ ____ | James Gosling at Sun Microsystems |
| nextLn () reads a String value from the user.(T/F) | False |
| nextLong () reads a long value from the user.(T/F) | True |
| nextFloat () reads a float value from the user.(T/F) | True |
| A Netbeans feature that is used to write, test, and debug applications for the Java Micro Edition platform (J2ME) technology-enabled mobile devices | NetBeans Mobility Pack |
| Sun Microsystems is now a subsidiary of Microsoft Corporation?(T/F) | False |
| A valid identifier in Java language may contain which characters? | |
| An IDE has build-automation tools.(T/F) | True |
| API stands for Application Programmable Interface(T/F) | False |
| a byte has a minimum of -128(T/F) | True |
| Reserved words are names that are given by the programmer as name of variables, methods or functions, classes etc(T/F) | False |
| All methods and variables in Java language are kept inside a? | Class or Interface |
| A multi-line comment enclosed within /* */(T/F) | True |
| A Netbeans feature that provides the services common to almost all large desktop applications such as: window, menu, settings management and storage, file access and more. | NetBeans Platform |
| The loader for java applications. | java |
| float has a width of 4 bytes.(T/F) | True |
| A single-line comment starts with //(T/F) | True |
| A feature of Netbeans that makes it easy to create, deploy and import java beans. | Enterprise Java Beans (EJB) Development: |
| printf()provides string formatting.(T/F) | True |
| The __________ creates a software simulation of a CPU and memory and handles all communication between the Java program and the underlying operating system and hardware. | JVM |
| What are the valid White Spaces available in Java language? | All of the Above |
| out is a public static field(T/F) | True |
| nextDouble () reads a double value from the user.(T/F) | True |
| Correct way of displaying string output is: System.out.println(‘some text here’); | False |
| A file that is compiled to produce bytecode file | |
| In standalone Java applications, which method is mandatory? | Main method |
| The goal in developing netbeans was to write a Delphi- like Java IDE in Java for the first time.(T/F) | True |
| A function in C language is similar to what in Java language? | Method |
| main method is void because the Java interpreter does not expect to receive or process any output from the class.(T/F) | True |
| It reads a boolean value from the user. | nextBoolean() |
| System is a class(T/F) | True |
| It is a fast fully-featured Integrated Development Environment (IDE) with support for Java. | All of the Above |
| It reads a String value from the user. | nextLine() |
| What is the default return type of a main method in Java language? | void |
| It reads a double value from the user. | nextDouble() |
| Original name of Java | Oak |
| The JVM creates a software simulation of a CPU and memory and handles all communication between the Java program and the underlying operating system and hardware.(T/F) | True |
| A java edition that lets you develop and deploy Java applications on desktops and servers. | Standard Edition |
| Correct command for compiling a file named "Hello.java" using console. | javac Hello.java |
| out keyword accepts input data(T/F) | False |
| What is the default return type of a method in Java language? | |
| One of the tools for Object oriented design doesn't include class browser(T/F) | False |
| double data type has a width of 16 in bytes.(T/F) | False |
| An IDE doesn't have various tools to simplify the construction of a GUI.(T/F) | False |
| out keyword accepts output data | True |
| A feature of java that means that the Java interpreter can execute the bytecodes directly on any machine to which the interpreter | Interpreted, Threaded, and Dynamic |
| %d is for used for decimal(T/F) | True |
| out is a private static field(T/F) | False |
| class HelloJava{ public static void main(String args[ ]){ System.out.println(“Hello Java”); } } Group of answer choices | HelloJava |
| A single-line comment starts with /*(T/F) | False |
| An IDE doesn't have Compiler and/or interpreter.(T/F) | False |
| Escape character for printing '\'. | \n |
| A java edition that includes flexible user interfaces, robust security, built-in network protocols, and support for networked and offline applications that can be downloaded dynamically. | Micro Edition |
| short has a value that ranges from -32768 to 32767(T/F) | True |
| Netbeans Matisse supports internationalization, and industrial look-and-feel rules, which is very important for large scale application meant to be spread world wide.(T/F) | True |
| The System class is a part of the core Java language package of the Application Programming Interface (API)(T/F) | True |
| short has a width of 4 bytes | False |
| nextInt() reads a integer value from the user.(T/F) | True |
| int has a width of 4 bytes(T/F) | True |
| A feature of java that means that Java can be programmed without extensive programmer training while being attuned to current software practices | Simple, object-oriented, and familiar |
| One of the tools for Object oriented design doesn't include object inspector(T/F) | False |
| print() prints string inside the quotes then the cursor moves to the beginning of the next line(T/F) | False |
| An IDE may have Various tools to simplify the construction of a GUI.(T/F) | True |
| long has a value that ranges from -32768 to 32767(T/F) | False |
| The main method is non-static because it must be called before the class that hosts the method is instantiated(T/F) | False |
| A feature of netbeans with wizards for creating web services and web services clients, providing the basic (java/wsdl) code needed, and easy to use testing tools of existing web services. | Web Services Development |
| A feature of Netbeans that enables support for multiple source roots, easy management of libraries, easily ported to other environments, all based on Apache Ant. | Project system |
| One of the tools for Object oriented design includes class hierarchy diagram(T/F) | True |
| String args[] in main method are used for? public static void main(String args[]) { // } | Passing arguments at run time |