programming languages Online Quiz - 99
Description: programming languages Online Quiz - 99 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
The process of writing the state of an object to a byte stream is called as
Through _________ , you can control what parts of a program can access the members of a class
In order for a source code file, containing the public class Test, to successfully compile, which of the following must be true?
Given: 11. List list = // more code here 12. Collections.sort(list, new MyComparator()); Which code will sort this list in the opposite order of the sort in line 12?
Given: classA {} class B extends A {} class C extends A {} class D extends B {} Which three statements are true? (Choose three.)
Servlet A receives a request that it forwards to servlet B within another webapplication in the same web container. Servlet A needs to share data with servlet B and that data mustnot be visible to other servlets in A's web application. In which object can the data that A shares with Bbe stored?
what is the output of the following Program
Output of the following program
what is the output of the following program
what is the output of the following program
1.main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("%c%c%c%c",s[ i ],(s+i),(i+s),i[s]); }
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }