Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password

Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Question

What is the name of the class in this program:



class HelloWorld{

public static void main(String args[ ]){

System.out.println(“Hello World”);

}

}



main
String args
HelloWorld
System
click to flip
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't know

Question

It provides simple and intuitive layout of GUIs without having to understand the complexities of Swing layout managers.
Netbeans Matter
Netbeans Matisse
Netbeans Matching
Remaining cards (131)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

OOP LEC [FA1]

CS0070

QuestionAnswer
What is the name of the class in this program: class HelloWorld{ public static void main(String args[ ]){ System.out.println(“Hello World”); } } main String args HelloWorld System HelloWorld
It provides simple and intuitive layout of GUIs without having to understand the complexities of Swing layout managers. Netbeans Matter Netbeans Matisse Netbeans Matching Netbeans Matisse
Dennis Ritchie developed Java? False True False
What is the use of Access modifier "public" in Java language? None of the above To protect main method To hide the main method from misuse To call the main method outside of Class or Package by JVM To call the main method outside of Class or Package by JVM
API stands for Application Programming Interface false true true
A Netbeans feature that gives it an extensible Component Palette pre-installed Swing and AWT components, showing a components tree and properties, automatic code generation and full JavaBeans support. Version control Support GUI Builder XML GUI Builder
out is a public static field true false True
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. True False True
print() prints string inside the quotes then the cursor moves to the beginning of the next line false true False
The main method is declared private so that it is accessible as part of the private interface of the program. true false False
Who developed Java? None of the options James Gosling Bjarne Stroustrup Dennis Ritchie James Gosling
Choose a multiline comment in Java language below? //comments are going cars are moving// /*comments are going cars are moving*/ */comments are going cars are moving/* None of the above /*comments are going cars are moving*/
The System class is not a part of the core Java language package of the Application Programming Interface (API) true false False
Reserved words are names that are given by the programmer as name of variables, methods or functions, classes etc true false False
It is a class used to get user input. In Scan Scanner Input Scanner
Oke was the original name of Java False True False
Every statement in Java language should end with ";"? true false True
Scanner class is found on java.util package. true false True
String args[] in main method are used for? public static void main(String args[]) { // } Nothing Passing arguments at compile time Passing arguments at run time Counting number of words Passing arguments at run time
nextBool() reads a boolean value from the user. false true False
What is the default return type of a method in Java language? None of the above short void int void
static is a not the state of a method false true False
out keyword accepts input data true false false
double and float data types are used for numbers with decimal places true false True
A single-line comment starts with /* false true false
What is the name of the class in this program: class HelloJava{ public static void main(String args[ ]){ System.out.println(“Hello Java”); } } HelloJava main System String args HelloJava
The System class is a part of the core Java language package of the Application Programming Interface (API) false true True
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 web development environment project system
A Netbeans feature that provides XML, DTD and CSS Text Editor and XML Productivity Tools Wizards to help user generate codes. GUI Builder XML Version control Support XML
Correct way of displaying a string output is: System.out.println(“some text here”); false true True
It reads a byte value from the user. nextByte nextB nextByte() nextB() nextByte()
One of the tools for Object oriented design doesn't include class browser false true false
A java edition that is It is developed using the Java Community Process Enterprise Edition Standard Edition Micro Edition Enterprise Edition
byte has a minimum value of -128 false true True
byte has a minimum value of -127 true false False
The goal in developing netbeans was to write a Delphi- like Java IDE in Java for the first time. true false True
A string is enclosed with double quotation marks. false true True
println belongs to the System class. true false True
IDE stands for? Integrating Development Environment Integration Development Environment Integrated Development Environment Integrated Developer Environment Integrated Development Environment
main method is int because the Java interpreter does not expect to receive or process any output from the class. false true False
nextB () reads a byte value from the user. true false False
Every statement in Java language should end with ":"? false true False
A method that provides string formatting printf() println() print() printf()
The goal in developing netbeans was to write a python- like Java IDE in Java for the first time. true false False
An IDE doesn't have build-automation tools. true false False
Java Wrapper Classes are used in converting one data type into another data type. true false True
The main method is declared public so that it is accessible as part of the public interface of the program. false true True
String is a primitive data type True
println() prints string inside the quotes then the cursor moves to the beginning of the next line false true True
Netscape Navigator was developed in 1995 to support Java. False True True
An IDE doesn't have Compiler and/or interpreter. false true False
Netbeans Matisse supports internationalization, and industrial look-and-feel rules, which is very important for large scale application meant to be spread world wide. false true True
What is the name of the class in this program: class Rectangle{ public static void main(String args[ ]){ System.out.println(“This is a Rectangle”); } } System String args main Rectangle Rectangle
The main method is non-static because it must be called before the class that hosts the method is instantiated false true False
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
String args[] in main method are used for? public static void main(String args[]) { // } Counting number of words Passing arguments at run time Nothing Passing arguments at compile time Passing arguments at run time
An IDE consists of a debugger true false true
In standalone Java applications, which method is mandatory? display method print method show method main method main method
A function in C language is similar to what in Java language? None of the above Method Variable Member Method
An IDE doesn't have a source code editor Group of answer choices false true False
The very first web browser created by Java. Group of answer choices WebRunner HotCoffee WebCoffee JavaCoffee Webrunner
A single-line comment starts with // Group of answer choices true false True
JUM handles all communication between the Java program and the underlying operating system and hardware. Group of answer choices False True False
An IDE may have Various tools to simplify the construction of a GUI. Group of answer choices true false True
A Netbeans feature that provides information about the runtime behavior of applications Group of answer choices NetBeans Platform NetBeans Profiler NetBeans Mobility Pack NetBeans Profiler
Every statement in Java language should end with ","? Group of answer choices false true false
A function in C language is similar to what in Java language? Method Member Variable None of the above Method
int has a width of 4 bytes Group of answer choices true false True
nextBoolean() reads a boolean value from the user. Group of answer choices true false True
long has a value that ranges from -32768 to 32767 Group of answer choices true false False
It reads a double value from the user. Group of answer choices nextDbl() nextDouble nextDbl nextDouble() nextDouble()
int has a width of 8 bytes Group of answer choices true false False
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 NetBeans Mobility Pack NetBeans Profiler NetBeans Platform
A multi-line comment enclosed within /* …. **/ Group of answer choices true false False
String is a derived data type Group of answer choices false true True
An IDE doesn't have build-automation tools. Group of answer choices false true false
All methods and variables in Java language are kept inside a? Group of answer choices main static method Class or Interface File Class or Interface
static is a not the state of a method Group of answer choices true false False
boolean data type has only two values Group of answer choices true false True
An IDE doesn't have various tools to simplify the construction of a GUI. Group of answer choices false true False
A java edition that lets you develop and deploy Java applications on desktops and servers. Group of answer choices Enterprise Edition Micro Edition Standard Edition Standard Edition
static is a state of a method Group of answer choices false true True
The System keyword defines a template for an object of derived type HelloWorld Group of answer choices true false True
"\\\" is an escape character for printing '\'. Group of answer choices false true False
double and float data types are used for numbers with decimal places Group of answer choices false true True
Java is a portable language that could run on any platform. The language was able to do this by generating intermediate code for a hypothetical computer called a virtual machine. Group of answer choices False True True
nextInt() reads a integer value from the user. Group of answer choices false true True
A string is enclosed with single quotation marks. Group of answer choices false true False
A feature of java that means Java technology is designed to support applications that will be deployed into heterogeneous network environments Architecture neutral and portable
Short has 2 width bytes True False True
A java edition that rich user interface, performance, versatility, portability, and security that today's applications require. Micro Edition Standard Edition Enterprise Edition Standard Edition
Because of the Netbeans IDE's Compile on Save feature, you have to manually compile your project in order to run it in the IDE. false true false
Netbeans Matisse doesn't have an intelligent way to build GUI for Java (unlike eclipse), that can actually compete with the Visual Studio GUI builder. True or False. False
The Java compiler generates machine code source code HTML byte code byte code
When you save a Java source file, the IDE doesn't automatically compiles it. True or False. False
A bytecode is interpreted by the JVM. True or False. True
double data type has a width of 16 in bytes. True or False. False
Scanner class is found on what java package? java.util
Correct command for running a java application named "HelloWorld.java" using console javaHelloWorld
[True or False] System is a method False
[True or False] The main method is declared private so that it is accessible as part of the private interface of the program. False
[True or False] nextDbl () reads a double value from the user. False
Choose a Single Line Comment in Java Language below? Group of answer choices /*Some comments*/ */Some comments/* Some comments// //Some comments //Some comments
[True or False] %n is for new line True
[True or False] An IDE has build-automation tools. True
[True or False] short has a width of 4 bytes False
Original name of Java Oak
A method that prints string inside the quotes then the cursor moves to the beginning of the next line println()
[True or False] short has a value that ranges from -32768 to 32767 True
[True or False] A documentation or javadoc comment is enclosed /** and */ True
[True or False] int has a width of 8 bytes False
Java Bytecode File Extension name .class
String args[] in main method are used for? public static void main(String args[]) { // } Passing arguments at run time
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
[True or False] short has a width of 2 bytes True
What are the valid White Spaces available in Java Language? - Enter - All the above - Space - Tab All the above
A command for the documentation generator javadoc
[True or False] nextLn () reads a String value from the user. False
[True or False] An IDE consists of Compiler and/or interpreter. True
[True or False] Scanner class used to get user input True
A feature of Java that means Java technology is designed to support applications that will be deployed into heterogeneous networks environments Architecture neutral and portable
A feature of Netbeans with Syntax highlighting for Java, XML, HTML, CSS, JSP and IDL, full support of new JDK 1.5 features, live parsing/error marking, popup javadoc, code completion, and fast class importing. Code Editor
[True or False] All methods and variables in Java language are kept inside a method? False
[True or False] IEE is a computer software to help compute programmers develop software. False
[True or False] long has a value that ranges from -32768 to 32767 False
[True or False] "\new" is an escape character for new line. False
A valid Identifier or name in Java language can start with which character? Group of answer choices option1: a-z, A-Z both option1 and option2 0-9 option2: $, _ both option 1 and option2
Escape character for new line. \n
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
A java edition that provides a robust, flexible environment for applications running on embedded and mobile devices in the Internet of Things Micro Edition
[True or False] out keyword accepts output data True
File extension name of a java file. .java
Created by: AdoKwatro
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards