Description: programming languages Online Quiz - 75 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
______ means that both the data and the methods which may access it are defined together in the same unit.
Maintaining the state of an object is called____?
Abstract class cannot have ________?
_________is a relationship
A derived class
Can two classes contain member functions with the same name?
A recursive function would result in infinite recursion, if the following were left out:
Which is a logical abstract base class for a class called "footballPlayer"?
What is the program design method we learned in order to write Object Oriented Programs?
How do you manage states in asp.net application
The number of forms that can be added to a aspx page is.
What's the difference between Response.Write() andResponse.Output.Write()?
To add a custom control to a Web form we have to register with.
When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.
Which of the following languages can be used to write server side scripting in ASP.NET?
SELECT address1||','||address2||','||address2 "Adress" FROM employee;
public static void main(String[] args) { String str = "null"; if (str == null) { System.out.println("null"); } else (str.length() == 0) { System.out.println("zero"); } else { System.out.println("some"); } } What is the result?
public class Yippee2 { static public void main(String [] yahoo) { for(int x = 1; x < yahoo.length; x++) { System.out.print(yahoo[x] + " "); } } } and the command line invocation: java Yippee2 a b c What is the result?
NumberFormat nf = NumberFormat.getInstance(); nf.setMaximumFractionDigits(4); nf.setMinimumFractionDigits(2); String a = nf.format(3.1415926); String b = nf.format(2); Which statement is true about the result?
System.out.format("Pi is approximately %d.", Math.PI); What is the result?