Sunday 1 February 2015

Latest J2SE Interview Questions and Answers (Part4)

31. What is class method ?
A method that is invoked without reference to a particular object. Class methods affect the class as a whole, not a particular instance of the class. Also called a static method. See also instance method.

32. What is class variable ?
A data item associated with a particular class as a whole--not with particular instances of the class. Class variables are defined in class definitions. Also called a static field. See also instance variable.

33. What is classpath ?
An environmental variable which tells the Java virtual machine1 and Java technology-based applications where to find the class libraries, including user-defined class libraries.

34. What is client ?
In the client/server model of communications, the client is a process that remotely accesses resources of a compute server, such as compute power and large memory capacity.

35. What is CODEBASE ?
Works together with the code attribute in the <APPLET> tag to give a complete specification of where to find the main applet class file: code specifies the name of the file, and codebase specifies the URL of the directory containing the file.

36. What is comment ?
In a program, explanatory text that is ignored by the compiler. In programs written in the Java programming language, comments are delimited using // or /*...*/.

37. What is commit ?
The point in a transaction when all updates to any resources involved in the transaction are made permanent.

38. What is compilation unit ?
The smallest unit of source code that can be compiled. In the current implementation of the Java platform, the compilation unit is a file.

39. What is compiler ?
A program to translate source code into code to be executed by a computer. The Java compiler translates source code written in the Java programming language into bytecode for the Java virtual machine1. See also interpreter.

40. What is compositing ?
The process of superimposing one image on another to create a single image.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6

No comments:

Post a Comment